|
|
|
@ -76,6 +76,7 @@ function refresData(id) {
|
|
|
|
|
gantt.silent(function () { |
|
|
|
|
gantt.parse(data); |
|
|
|
|
getGanttOpen(); |
|
|
|
|
gantt.parse(data); |
|
|
|
|
}); |
|
|
|
|
if (id) { |
|
|
|
|
if (gantt.isTaskExists(id)) { |
|
|
|
@ -213,6 +214,9 @@ var dp = gantt.createDataProcessor(function (entity, action, data, id) {
|
|
|
|
|
} else if (parent && parent > 0) { |
|
|
|
|
updateActivity(parent); |
|
|
|
|
} |
|
|
|
|
if (!parent) { |
|
|
|
|
refresData(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}).catch(function (error) { |
|
|
|
|
$("body").removeClass("loading"); |
|
|
|
|