mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
minified and defect in storagekey
This commit is contained in:
parent
a332cadba6
commit
b4ab6ebb29
@ -170,7 +170,7 @@
|
||||
c.$table.trigger('pagerComplete', p);
|
||||
// save pager info to storage
|
||||
if (p.savePages && ts.storage) {
|
||||
ts.storage(table, storageKey, {
|
||||
ts.storage(table, p.storageKey, {
|
||||
page : p.page,
|
||||
size : p.size
|
||||
});
|
||||
@ -554,7 +554,7 @@
|
||||
p.initialized = false;
|
||||
$(table).unbind('destroy.pager sortEnd.pager filterEnd.pager enable.pager disable.pager');
|
||||
if (ts.storage) {
|
||||
ts.storage(table, storageKey, '');
|
||||
ts.storage(table, p.storageKey, '');
|
||||
}
|
||||
},
|
||||
|
||||
@ -612,7 +612,7 @@
|
||||
ts.setFilters(table, p.currentFilters, false);
|
||||
}
|
||||
if (p.savePages && ts.storage) {
|
||||
t = ts.storage(table, storageKey) || {}; // fixes #387
|
||||
t = ts.storage(table, p.storageKey) || {}; // fixes #387
|
||||
p.page = isNaN(t.page) ? p.page : t.page;
|
||||
p.size = ( isNaN(t.size) ? p.size : t.size ) || 10;
|
||||
$.data(table, 'pagerLastSize', p.size);
|
||||
|
3
addons/pager/jquery.tablesorter.pager.min.js
vendored
3
addons/pager/jquery.tablesorter.pager.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user