Fixing role add permission update issue

4.x.x
Rasika Perera 8 years ago
parent 0eaf33aa5c
commit 7edc7f29db

@ -30,6 +30,8 @@
*/
var modalPopup = ".modal";
var modalPopupContent = modalPopup + " .modal-content";
var errorMsgWrapper = "#permission-add-error-msg";
var errorMsg = "#permission-add-error-msg span";
var apiBasePath = "/api/device-mgt/v1.0";
@ -148,7 +150,8 @@ $(document).ready(function () {
var perms = [];
$("#permissionList li input:checked").each(function(){
perms.push($(this).data("resourcepath"));
})
});
updateRolePermissionData.roleName = roleName;
updateRolePermissionData.permissions = perms;
invokerUtil.put(
updateRolePermissionAPI,

Loading…
Cancel
Save