summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-09 07:37:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-09 07:37:49 +0000
commit5adc1ddde9b4a353b2d2a499004c2025d6e8847a (patch)
tree157cb8f2a52a443b0b91beb2d43d70733e0e62cc /public
parentc8c694840d3c16450371141be609fd6b6e023667 (diff)
downloadredmine-5adc1ddde9b4a353b2d2a499004c2025d6e8847a.tar.gz
redmine-5adc1ddde9b4a353b2d2a499004c2025d6e8847a.zip
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
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/context_menu.js2
1 files changed, 1 insertions, 1 deletions
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();