Browse Source

feat(header modal): add activity name in header modal

pull/1/head
Watiah11 8 months ago
parent
commit
6f6099fca0
  1. 1
      edit-mode/function/humanResource.js
  2. 2
      edit-mode/function/toolsResource.js
  3. 1
      view-mode/function/humanResource.js
  4. 2
      view-mode/function/toolsResource.js

1
edit-mode/function/humanResource.js

@ -76,6 +76,7 @@ $(document).ready(function () {
}); });
$('#modal-hr').on('show.bs.modal', function (event) { $('#modal-hr').on('show.bs.modal', function (event) {
$('#modal-hr-title').html("Human Resource " + activityName);
tableHr.draw(); tableHr.draw();
}); });

2
edit-mode/function/toolsResource.js

@ -62,7 +62,7 @@ $(document).ready(function () {
}); });
$('#modal-tools').on('show.bs.modal', function (event) { $('#modal-tools').on('show.bs.modal', function (event) {
console.log('activityId', activityId); $('#modal-tools-title').html("Tools Resource " + activityName);
tableTools.draw(); tableTools.draw();
}); });

1
view-mode/function/humanResource.js

@ -43,6 +43,7 @@ $(document).ready(function () {
}); });
$('#modal-hr').on('show.bs.modal', function (event) { $('#modal-hr').on('show.bs.modal', function (event) {
$('#modal-hr-title').html("Human Resource " + activityName);
tableHr.draw(); tableHr.draw();
}); });

2
view-mode/function/toolsResource.js

@ -56,7 +56,7 @@ $(document).ready(function () {
}); });
$('#modal-tools').on('show.bs.modal', function (event) { $('#modal-tools').on('show.bs.modal', function (event) {
console.log('activityId', activityId); $('#modal-tools-title').html("Tools Resource " + activityName);
tableTools.draw(); tableTools.draw();
}); });

Loading…
Cancel
Save