From bd2581e7c9584d91111ca26b55327972c2cb6727 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 14 Feb 2012 15:34:27 +0000 Subject: Restyles user search fields and ajax indicator. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8874 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/javascripts/application.js') diff --git a/public/javascripts/application.js b/public/javascripts/application.js index fdafc9899..483bc1a68 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -503,7 +503,7 @@ Ajax.Responders.register({ request.options.requestHeaders[header] = token; } - if ($('ajax-indicator') && Ajax.activeRequestCount > 0) { + if ($('ajax-indicator') && Ajax.activeRequestCount > 0 && $$('input.ajax-loading').size() == 0) { Element.show('ajax-indicator'); } }, -- cgit v1.2.3