diff --git a/edit-mode/function/restActivityLink.js b/edit-mode/function/restActivityLink.js index f905def..d0da21a 100644 --- a/edit-mode/function/restActivityLink.js +++ b/edit-mode/function/restActivityLink.js @@ -116,9 +116,7 @@ var dp = gantt.createDataProcessor(function(entity, action, data, id) { } }); } - if(!data['rencana_biaya']){ - data['duration'] += 1; - } + return gantt.ajax.put({ headers: { "Content-Type": "application/json",