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