|
|
|
@ -69,6 +69,7 @@ var dp = gantt.createDataProcessor(function(entity, action, data, id) {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
data['version_gantt_id'] = ganttId; |
|
|
|
|
data['duration'] += 1; |
|
|
|
|
return gantt.ajax.post({ |
|
|
|
|
headers: { |
|
|
|
|
"Content-Type": "application/json", |
|
|
|
@ -115,6 +116,8 @@ var dp = gantt.createDataProcessor(function(entity, action, data, id) {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
data['sortorder'] = data['target']; |
|
|
|
|
data['duration'] += 1; |
|
|
|
|
return gantt.ajax.put({ |
|
|
|
|
headers: { |
|
|
|
|
"Content-Type": "application/json", |
|
|
|
|