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
This commit is contained in:
Jean-Philippe Lang
2016-04-09 07:37:49 +00:00
parent c8c694840d
commit 5adc1ddde9
10 changed files with 90 additions and 35 deletions

View File

@@ -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();