Browse Source

Merge pull request 'update activity get' (#5) from dev-wahyun into master

Reviewed-on: ibnu/generic-ospro-gantt#5
pull/1/head
farhantock 10 months ago
parent
commit
54bcd25789
  1. 1
      edit-mode/function/function.js
  2. 1
      view-mode/function/function.js

1
edit-mode/function/function.js

@ -274,6 +274,7 @@ function updateActivity(id) {
gantt.getTask(id).progress = data.progress;
gantt.getTask(id).jobs_done = data.jobs_done ? data.jobs_done : 0;
gantt.updateTask(id);
refresData();
actionHappen = false;
},
error: function (data) {

1
view-mode/function/function.js

@ -176,6 +176,7 @@ function updateActivity(id)
gantt.getTask(id).progress = data.progress;
gantt.getTask(id).jobs_done = data.jobs_done ? data.jobs_done : 0;
gantt.updateTask(id);
refresData();
actionHappen = false;
},
error: function (data) {

Loading…
Cancel
Save