From 4a4fef5b3beaf6154e4df878222edcdfb1cab6cf Mon Sep 17 00:00:00 2001 From: Yagami Date: Wed, 17 May 2023 13:20:41 +0800 Subject: [PATCH] * Fix bug #35210. --- module/programplan/view/gantt.html.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/programplan/view/gantt.html.php b/module/programplan/view/gantt.html.php index 9223f3fa2b..3ca5e4a44c 100755 --- a/module/programplan/view/gantt.html.php +++ b/module/programplan/view/gantt.html.php @@ -709,6 +709,12 @@ $(function() }); }); + gantt.attachEvent("onBeforeTaskMove", function(id, mode, e) + { + task = gantt.getTask(id); + if(task.type == 'point') return false; + }); + var isGanttExpand = false; var delayTimer = null; var handleFullscreen = function()