summaryrefslogtreecommitdiffstats
path: root/app/views/watchers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-14 15:34:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-14 15:34:27 +0000
commitbd2581e7c9584d91111ca26b55327972c2cb6727 (patch)
tree9d4db54067a5135a522ed91d0cc64b5d2a80f99e /app/views/watchers
parent0729ee143bc4f3efedcd4f9dfa775e02b52ad5f0 (diff)
downloadredmine-bd2581e7c9584d91111ca26b55327972c2cb6727.tar.gz
redmine-bd2581e7c9584d91111ca26b55327972c2cb6727.zip
Restyles user search fields and ajax indicator.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8874 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/watchers')
-rw-r--r--app/views/watchers/_new.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/watchers/_new.html.erb b/app/views/watchers/_new.html.erb
index 56a122a51..9b4227ad7 100644
--- a/app/views/watchers/_new.html.erb
+++ b/app/views/watchers/_new.html.erb
@@ -12,6 +12,8 @@
:frequency => 0.5,
:update => :users_for_watcher,
:method => :get,
+ :before => '$("user_search").addClassName("ajax-loading")',
+ :complete => '$("user_search").removeClassName("ajax-loading")',
:url => {
:controller => 'watchers',
:action => 'autocomplete_for_user',