From a755136ee9050de5674246093559cf74b5aa7bca Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Fri, 29 Oct 2021 14:11:03 +0800 Subject: [PATCH] * limit range for iframe modal triggers. --- module/execution/js/kanban.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index cbd3d5e7a3..21ba8814c4 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -595,7 +595,7 @@ $(function() if(browseType == 'all' || browseType == 'task') createKanban('task', kanbanGroup.task, commonOptions); /* Init iframe modals */ - $(document).on('click', '.iframe', function(event) + $(document).on('click', '#kanbans .iframe,.contextmenu-menu .iframe', function(event) { $(this).modalTrigger({show: true, width: '500px'}); event.preventDefault();