|
|
@ -130,12 +130,11 @@ var dp = gantt.createDataProcessor(function(entity, action, data, id) { |
|
|
|
let responseText = JSON.parse(response.responseText) |
|
|
|
let responseText = JSON.parse(response.responseText) |
|
|
|
let resData = responseText |
|
|
|
let resData = responseText |
|
|
|
let updateBobot = resData.update_bobot || false |
|
|
|
let updateBobot = resData.update_bobot || false |
|
|
|
|
|
|
|
if(parent && parent > 0){ |
|
|
|
|
|
|
|
updateActivity(parent); |
|
|
|
|
|
|
|
} |
|
|
|
if(updateBobot){ |
|
|
|
if(updateBobot){ |
|
|
|
refresData(id); |
|
|
|
refresData(id); |
|
|
|
}else{ |
|
|
|
|
|
|
|
if(parent && parent > 0){ |
|
|
|
|
|
|
|
updateActivity(parent); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|