From 72df34520336a0d39d2a3dbb61cec115cd81513f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 22 May 2013 02:50:57 +0200 Subject: [PATCH] Fixed jquery 1.9 issue. --- app/assets/javascripts/app/lib/app_post/ajax.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_post/ajax.js.coffee b/app/assets/javascripts/app/lib/app_post/ajax.js.coffee index cd40cc7c3..b844ed714 100644 --- a/app/assets/javascripts/app/lib/app_post/ajax.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/ajax.js.coffee @@ -26,7 +26,7 @@ class _Singleton @_run() # bindings - $('body').bind( 'ajaxSend', => + $(document).bind( 'ajaxSend', => @_show_spinner() ).bind( 'ajaxComplete', => @_hide_spinner()