Browse Source

Disable jQuery UI tooltip on workflow page to improve loading speed (#35034).

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20919 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.0.0
Go MAEDA 3 years ago
parent
commit
684f883137
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      app/views/workflows/_form.html.erb

+ 3
- 3
app/views/workflows/_form.html.erb View File

<th> <th>
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled)')", <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled)')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
:class => 'no-tooltip icon-only icon-checked') %>
<%=l(:label_current_status)%> <%=l(:label_current_status)%>
</th> </th>
<th colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th> <th colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
<td style="width:<%= 75 / @statuses.size %>%;"> <td style="width:<%= 75 / @statuses.size %>%;">
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).new-status-#{new_status.id}')", <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).new-status-#{new_status.id}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
:class => 'no-tooltip icon-only icon-checked') %>
<%= new_status.name %> <%= new_status.name %>
</td> </td>
<% end %> <% end %>
<td class="name"> <td class="name">
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).old-status-#{old_status.try(:id) || 0}')", <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]:not(:disabled).old-status-#{old_status.try(:id) || 0}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %>
:class => 'no-tooltip icon-only icon-checked') %>
<% if old_status %> <% if old_status %>
<% old_status_name = old_status.name %> <% old_status_name = old_status.name %>
<%= old_status_name %> <%= old_status_name %>

Loading…
Cancel
Save