From df3f1a0d16e72405666630bff9843ee2a7e285d6 Mon Sep 17 00:00:00 2001 From: Mathieu Pillard Date: Wed, 28 Jun 2017 14:55:55 -0700 Subject: [PATCH] Fix jquery.pjax callbacks breakage - the event names changed --- static/js/impala/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/impala/search.js b/static/js/impala/search.js index fe10c49c4c..cfc4fbb3c6 100644 --- a/static/js/impala/search.js +++ b/static/js/impala/search.js @@ -166,7 +166,7 @@ } $(document).on('click', '.pjax-trigger a', _pd(hijackLink)); - $container.bind('start.pjax', loading).bind('end.pjax', finished); + $container.on('pjax:start', loading).on('pjax:end', finished); $(document).keyup(_.throttle(turnPages, 300)); };