diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index 31a8769e4d..aaa2254fbb 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -1156,12 +1156,7 @@ function initKanban($kanban) onRenderLaneName: renderLaneName, onRenderHeaderCol: renderHeaderCol, onRenderCount: renderCount, - droppable: - { - target: findDropColumns, - finish: handleFinishDrop, - mouseButton: 'left' - } + droppable: groupBy == 'default' ? {target: findDropColumns, finish:handleFinishDrop, mouseButton: 'left'} : false, }); $kanban.on('click', '.action-cancel', hideKanbanAction); diff --git a/module/execution/view/all.html.php b/module/execution/view/all.html.php index ec59ec90d7..32750f952d 100644 --- a/module/execution/view/all.html.php +++ b/module/execution/view/all.html.php @@ -57,7 +57,7 @@ createLink('programplan', 'create', "projectID=$projectID&productID=$productID"), " " . $lang->programplan->create, '', "class='btn btn-info'");?> - createLink('execution', 'create', "projectID=$projectID"), " " . ((($from == 'execution') and ($config->systemMode == 'new')) ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-info' data-app='$from'");?> + createLink('execution', 'create', "projectID=$projectID"), " " . ((($from == 'execution') and ($config->systemMode == 'new')) ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-info' data-app='execution'");?>