From a867d3d2f1180016c54dfae193f0f84f8d2e47cf Mon Sep 17 00:00:00 2001 From: "Justin F. Hallett" Date: Tue, 30 Sep 2014 16:17:17 -0600 Subject: [PATCH] p must have ajaxObject, setting it up at init so we can use it to compare later on --- js/widgets/widget-pager.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/widgets/widget-pager.js b/js/widgets/widget-pager.js index 11201fdc..2af2bca8 100644 --- a/js/widgets/widget-pager.js +++ b/js/widgets/widget-pager.js @@ -182,6 +182,10 @@ tsp = ts.pager = { tsp.enablePager(table, c, false); + // p must have ajaxObject + p.ajaxObject = c.widgetOptions.pager_ajaxObject; + p.ajaxObject.url = c.widgetOptions.pager_ajaxUrl; + if ( typeof(wo.pager_ajaxUrl) === 'string' ) { // ajax pager; interact with database p.ajax = true;