Skip to content
Snippets Groups Projects
Commit a468059d authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8887: handle updates in predecessors and successors

parent 129646f2
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,8 @@ angular.module('raeApp').factory("dataService", ['$http', function($http){ ...@@ -161,6 +161,8 @@ angular.module('raeApp').factory("dataService", ['$http', function($http){
task.otdb_id = changedTask.otdb_id; task.otdb_id = changedTask.otdb_id;
task.starttime = new Date(changedTask.starttime); task.starttime = new Date(changedTask.starttime);
task.endtime = new Date(changedTask.endtime); task.endtime = new Date(changedTask.endtime);
task.predecessor_ids = changedTask.predecessor_ids;
task.successor_ids = changedTask.successor_ids;
} }
} else if(change.changeType == 'insert') { } else if(change.changeType == 'insert') {
var task = self.taskDict[changedTask.id]; var task = self.taskDict[changedTask.id];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment