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
This commit is contained in:
Jean-Philippe Lang 2008-05-14 17:26:13 +00:00
parent 4c6b9d9ce5
commit 06e44b8e64
1 changed files with 2 additions and 2 deletions

View File

@ -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>