Skip to content
Snippets Groups Projects
Unverified Commit bcdd88fb authored by Dylan's avatar Dylan
Browse files

FIX : add privilege in serviceAccount

parent 895cbc10
No related branches found
No related tags found
3 merge requests!100Develop,!84Release/2.2,!82Release/2.2
......@@ -259,15 +259,19 @@
var serviceURI = $("#selectPrivilegeURI option:selected").data('serviceuri');
var description = $("#selectPrivilegeURI option:selected").val();
$("#privilegeExemple").find("[name=privilegeURI]:first")
.clone()
.find('input')
.val(description)
.data("serviceuri",serviceURI)
.closest('[name=privilegeURI]')
.appendTo($("#listPrivilege"));
$("#selectPrivilegeURI").val('').find('option[data-serviceuri="'+serviceURI+'"]').hide();
if(description){
$("#privilegeExemple").find("[name=privilegeURI]:first")
.clone()
.find('input')
.val(description)
.data("serviceuri",serviceURI)
.closest('[name=privilegeURI]')
.appendTo($("#listPrivilege"));
$("#selectPrivilegeURI").val('').find('option[data-serviceuri="'+serviceURI+'"]').hide();
}
});
//Delete privilege
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment