From 5adc1ddde9b4a353b2d2a499004c2025d6e8847a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 9 Apr 2016 07:37:49 +0000 Subject: Allow addition of watchers via bulk edit context menu (#5754). git-svn-id: http://svn.redmine.org/redmine/trunk@15311 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index 12371078e..1b7da8991 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -67,7 +67,7 @@ function contextMenuClick(event) { // click is outside the rows if (target.is('a') && (target.hasClass('disabled') || target.hasClass('submenu'))) { event.preventDefault(); - } else if (target.is('.toggle-selection')) { + } else if (target.is('.toggle-selection') || target.is('.ui-dialog *') || $('#ajax-modal').is(':visible')) { // nop } else { contextMenuUnselectAll(); -- cgit v1.2.3