summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-14 17:26:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-14 17:26:13 +0000
commit06e44b8e643797c8d5a11478ef6605f49c7220e0 (patch)
tree111393d3e49df7ed2d847ae791b5f75e1553b394
parent4c6b9d9ce506253cae52bfc0d716bd67ecebb29f (diff)
downloadredmine-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.rhtml4
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>