Skip to content

Commit

Permalink
Pager widget initializes properly. Fixes #510
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Feb 23, 2014
1 parent 556bcc2 commit 4e80bc9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions js/widgets/widget-pager.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,10 @@ tsp = ts.pager = {
tsp.bindEvents(table, c);

// pager initialized
if (!p.ajax) {
p.initialized = true;
p.isInitializing = false;
tsp.setPageSize(table, 0, c); // page size 0 is ignored
c.$table.trigger('pagerInitialized', c);
}
p.initialized = true;
p.isInitializing = false;
tsp.setPageSize(table, 0, c); // page size 0 is ignored
c.$table.trigger('pagerInitialized', c);

},

Expand Down

0 comments on commit 4e80bc9

Please sign in to comment.