Project

General

Profile

Defect #27533 » 0001-Fixato-priority-disabilitato-in-query-list.patch

resolving patch - Vito Marolda, 2017-11-15 12:15

View differences:

htdocs/app/views/context_menus/issues.html.erb
39 39
    <ul>
40 40
    <% @priorities.each do |p| -%>
41 41
        <li><%= context_menu_link p.name, bulk_update_issues_path(:ids => @issue_ids, :issue => {'priority_id' => p}, :back_url => @back), :method => :post,
42
                                  :selected => (@issue && p == @issue.priority), :disabled => (!@can[:edit] || @issues.detect {|i| !i.leaf?}) %></li>
42
                                  :selected => (@issue && p == @issue.priority), :disabled => (!@can[:edit]) %></li>
43 43
    <% end -%>
44 44
    </ul>
45 45
  </li>
(4-4/4)