Browse Source

Fix successor date and duration

pull/1/head
Wahyu Ramadhan 1 year ago
parent
commit
27863f4aee
  1. 1
      edit-mode/function/ganttEvent.js

1
edit-mode/function/ganttEvent.js

@ -53,7 +53,6 @@ gantt.attachEvent("onBeforeTaskUpdate", function(id,new_item){
}
progress = progress/100;
new_item['progress'] = progress;
new_item['start_date'].setHours(0,0,0);
new_item['end_date'].setHours(23,59,59);
let newDuration = gantt.calculateDuration({
start_date: new_item['start_date'],

Loading…
Cancel
Save