Skip to content

Commit

Permalink
Don't reset table when chaning records per page
Browse files Browse the repository at this point in the history
  • Loading branch information
mlt committed Jun 8, 2020
1 parent c7f333d commit 8778c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/tabulatr/_events.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
var tbl = $('table#' + tableId);
tbl.data('pagesize', event.target.value);
var table_obj = tbl.data('tabulatr');
table_obj.resetTable();
table_obj.submitFilterForm();
});

$(document).on('ready page:load turbolinks:load', function(event){
Expand Down

0 comments on commit 8778c2c

Please sign in to comment.