From 4e80bc975338af866ee9c9dacfe8ca82669b9587 Mon Sep 17 00:00:00 2001 From: Mottie Date: Sun, 23 Feb 2014 00:46:34 -0600 Subject: [PATCH] Pager widget initializes properly. Fixes #510 --- js/widgets/widget-pager.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/js/widgets/widget-pager.js b/js/widgets/widget-pager.js index 9e75b74a..8a85d7fb 100644 --- a/js/widgets/widget-pager.js +++ b/js/widgets/widget-pager.js @@ -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); },