From db4f8323dc114e7c3e2d1c8d3cdd40040fdb81a1 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 18 Jan 2021 12:12:47 +0000 Subject: [PATCH] Merged r20717 from trunk to 4.1-stable (#34247). git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@20720 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/workflows/_form.html.erb | 2 +- public/javascripts/application.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb index 32639753c..429ccb4e6 100644 --- a/app/views/workflows/_form.html.erb +++ b/app/views/workflows/_form.html.erb @@ -40,7 +40,7 @@ <% for new_status in @statuses -%> <% checked = (old_status == new_status) || (transition_counts[[old_status, new_status]] > 0) %> - + <%= transition_tag transition_counts[[old_status, new_status]], old_status, new_status, name %> <% end -%> diff --git a/public/javascripts/application.js b/public/javascripts/application.js index e4e902d9c..f1262d5e0 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -997,15 +997,15 @@ function setupAttachmentDetail() { $(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) { -- 2.39.5