diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-06-19 19:51:43 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-06-19 19:51:43 +0000 |
commit | 2562bc5bcd0c03320b4005c7a3d2a55795e9363a (patch) | |
tree | 6d2b77086e39a74c9b52983d453511d1ea24c0f5 /public/javascripts | |
parent | d48eb2de47c3b75e567b849b0be93b041f18279b (diff) | |
download | redmine-2562bc5bcd0c03320b4005c7a3d2a55795e9363a.tar.gz redmine-2562bc5bcd0c03320b4005c7a3d2a55795e9363a.zip |
Hide the role forms when editing or adding Project members. #5452
Contributed by Yuki Kita
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3784 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/application.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 745125047..612739f5c 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -226,8 +226,10 @@ Ajax.Responders.register({ } }); -Event.observe(window, 'load', function() { +function hideOnLoad() { $$('.hol').each(function(el) { el.hide(); }); -}); +} + +Event.observe(window, 'load', hideOnLoad); |