May be fix loading view? Idk.

Leonardo Galli 8 years ago committed by GitHub
parent 94f44a0eb7
commit fcf156293e

@ -52,10 +52,10 @@ module.exports = Marionette.Layout.extend({
}, },
_pageSizeChanged : function(event) { _pageSizeChanged : function(event) {
this.table.show(new LoadingView());
var pageSize = parseInt($(event.target).val()); var pageSize = parseInt($(event.target).val());
this.bulkImportCollection.fullCollection.reset(); this.bulkImportCollection.fullCollection.reset();
this.bulkImportCollection.reset(); this.bulkImportCollection.reset();
this.table.show(new LoadingView());
//debugger; //debugger;
this.bulkImportCollection.setPageSize(pageSize); this.bulkImportCollection.setPageSize(pageSize);
//this.bulkImportCollection.fetch(); //this.bulkImportCollection.fetch();

Loading…
Cancel
Save