diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-14 17:26:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-14 17:26:13 +0000 |
commit | 06e44b8e643797c8d5a11478ef6605f49c7220e0 (patch) | |
tree | 111393d3e49df7ed2d847ae791b5f75e1553b394 | |
parent | 4c6b9d9ce506253cae52bfc0d716bd67ecebb29f (diff) | |
download | redmine-06e44b8e643797c8d5a11478ef6605f49c7220e0.tar.gz redmine-06e44b8e643797c8d5a11478ef6605f49c7220e0.zip |
Do not toggle assignable check box when using un/check all permissions links on role form.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1430 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/roles/_form.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/roles/_form.rhtml b/app/views/roles/_form.rhtml index 58dc2af41..4aad45471 100644 --- a/app/views/roles/_form.rhtml +++ b/app/views/roles/_form.rhtml @@ -12,7 +12,7 @@ <% end %> <h3><%= l(:label_permissions) %></h3> -<div class="box"> +<div class="box" id="permissions"> <% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %> <% perms_by_module.keys.sort.each do |mod| %> <fieldset><legend><%= mod.blank? ? l(:label_project) : mod.humanize %></legend> @@ -24,6 +24,6 @@ <% end %> </fieldset> <% end %> -<br /><%= check_all_links 'role_form' %> +<br /><%= check_all_links 'permissions' %> <%= hidden_field_tag 'role[permissions][]', '' %> </div> |