Defect #34247 » disable_tooltip_in_workflow_status_transition.patch
| app/views/workflows/_form.html.erb | ||
|---|---|---|
|
</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 -%>
|
||
| public/javascripts/application.js | ||
|---|---|---|
|
}
|
||
|
$(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) {
|
||
- « Previous
- 1
- 2
- Next »