fix pagination in combination with daterange picker (#568)
This commit is contained in:
@@ -22,10 +22,6 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$('.toolbar form input').change(function (event) {
|
||||
toolbarLoadDataAfterChange();
|
||||
});
|
||||
|
||||
$('.toolbar form select').change(function (event) {
|
||||
switch (event.target.id) {
|
||||
case 'page':
|
||||
break;
|
||||
@@ -35,6 +31,11 @@ $(document).ready(function () {
|
||||
toolbarLoadDataAfterChange();
|
||||
});
|
||||
|
||||
$('.toolbar form select').change(function (event) {
|
||||
$('.toolbar form input#page').val(1);
|
||||
toolbarLoadDataAfterChange();
|
||||
});
|
||||
|
||||
function toolbarLoadDataAfterChange()
|
||||
{
|
||||
var $form = $('.toolbar form');
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"build/app.js": "/build/app.js?19fe460d7c7c857b408b",
|
||||
"build/app.js": "/build/app.js?98fd89cf83295df4d009",
|
||||
"build/app.css": "/build/app.css?51fa08d868a6a2e03d602ee2df728169",
|
||||
"build/images/blue@2x.png": "/build/images/blue@2x.png?2694acfd",
|
||||
"build/images/blue.png": "/build/images/blue.png?96f8a905",
|
||||
|
||||
Reference in New Issue
Block a user