mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-08 08:31:31 +00:00
Web browser freezes when displaying a workflow page with a large number of issue statuses (#34247).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20717 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
85193e8d10
commit
4d3dec2dc0
@ -40,7 +40,7 @@
|
||||
</td>
|
||||
<% for new_status in @statuses -%>
|
||||
<% checked = (old_status == new_status) || (transition_counts[[old_status, new_status]] > 0) %>
|
||||
<td class="<%= checked ? 'enabled' : '' %>" title="<%= old_status_name %> » <%= new_status.name %>">
|
||||
<td class="no-tooltip <%= checked ? 'enabled' : '' %>" title="<%= old_status_name %> » <%= new_status.name %>">
|
||||
<%= transition_tag transition_counts[[old_status, new_status]], old_status, new_status, name %>
|
||||
</td>
|
||||
<% end -%>
|
||||
|
||||
@ -1072,15 +1072,15 @@ function setupWikiTableSortableHeader() {
|
||||
}
|
||||
|
||||
$(function () {
|
||||
$('[title]').tooltip({
|
||||
show: {
|
||||
delay: 400
|
||||
},
|
||||
position: {
|
||||
my: "center bottom-5",
|
||||
at: "center top"
|
||||
}
|
||||
});
|
||||
$("[title]:not(.no-tooltip)").tooltip({
|
||||
show: {
|
||||
delay: 400
|
||||
},
|
||||
position: {
|
||||
my: "center bottom-5",
|
||||
at: "center top"
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function inlineAutoComplete(element) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user