May be fix loading view? Idk.

This commit is contained in:
Leonardo Galli
2017-02-09 16:48:14 +01:00
committed by GitHub
parent 94f44a0eb7
commit fcf156293e

View File

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