diff options
author | Thomas Duval <thomas.duval@orange.com> | 2017-11-03 14:43:28 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2017-11-03 14:43:28 +0100 |
commit | 0418b00f6d811c7b407bd8abbe80064605e37c06 (patch) | |
tree | 51a34a2c8192d9c2a6ef551dc020c059c944a7f4 /moonv4 | |
parent | 0938caa3ba49fa2b54a42f2123643f37de28f1b3 (diff) |
Fix a bug in categories
Change-Id: I914f33c054dffc103cbe8c7e9165526b728a82ea
Diffstat (limited to 'moonv4')
-rw-r--r-- | moonv4/moon_gui/static/app/policy/edit/parameter/assignments/assignments.list.dir.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/moonv4/moon_gui/static/app/policy/edit/parameter/assignments/assignments.list.dir.js b/moonv4/moon_gui/static/app/policy/edit/parameter/assignments/assignments.list.dir.js index 22931e4d..e396f74e 100644 --- a/moonv4/moon_gui/static/app/policy/edit/parameter/assignments/assignments.list.dir.js +++ b/moonv4/moon_gui/static/app/policy/edit/parameter/assignments/assignments.list.dir.js @@ -169,15 +169,15 @@ switch (type) { case ASSIGNMENTS_CST.TYPE.SUBJECT: - metaDataService.subject.findOne(data.subject_cat_id, setCategoryToData); + metaDataService.subject.findOne(data.category_id, setCategoryToData); break; case ASSIGNMENTS_CST.TYPE.OBJECT: - metaDataService.object.findOne(data.object_cat_id, setCategoryToData); + metaDataService.object.findOne(data.category_id, setCategoryToData); break; case ASSIGNMENTS_CST.TYPE.ACTION: - metaDataService.action.findOne(data.action_cat_id, setCategoryToData); + metaDataService.action.findOne(data.category_id, setCategoryToData); break; } @@ -257,7 +257,7 @@ subject.loader = true; - assignmentsService.subject.delete(list.policy.id, subject.subject_id, subject.subject_cat_id, dataId, deleteSubSuccess, deleteSubError); + assignmentsService.subject.delete(list.policy.id, subject.subject_id, subject.category_id, dataId, deleteSubSuccess, deleteSubError); function deleteSubSuccess(data) { @@ -289,7 +289,7 @@ object.loader = true; - assignmentsService.object.delete(list.policy.id, object.object_id, object.object_cat_id, dataId, deleteObjSuccess, deleteObjError); + assignmentsService.object.delete(list.policy.id, object.object_id, object.category_id, dataId, deleteObjSuccess, deleteObjError); function deleteObjSuccess(data) { @@ -320,7 +320,7 @@ action.loader = true; - assignmentsService.action.delete(list.policy.id, action.action_id, action.action_cat_id, dataId, deleteActSuccess, deleteActError); + assignmentsService.action.delete(list.policy.id, action.action_id, action.category_id, dataId, deleteActSuccess, deleteActError); function deleteActSuccess(data) { |