fix bug resize move

This commit is contained in:
lanzongjun
2022-08-04 14:07:02 +08:00
parent f2d0b3b3b3
commit f09fd6d981
2 changed files with 14 additions and 3 deletions
+2 -1
View File
@@ -431,7 +431,6 @@ function validateResources(id)
type: "post",
success: function(response)
{
response = JSON.parse(response);
if(response.result == 'fail' && response.message)
{
new $.zui.Messager(response.message, {
@@ -479,6 +478,8 @@ $(function()
gantt.config.order_branch = ganttType == 'assignedTo' ? false : 'marker';
gantt.config.drag_progress = false;
gantt.config.drag_links = false;
gantt.config.drag_move = ganttType == 'assignedTo' ? false : true;
gantt.config.drag_resize = ganttType == 'assignedTo' ? false : true;
gantt.config.smart_rendering = true;
gantt.config.smart_scales = true;
gantt.config.static_background = true;