diff --git a/UI/Templates/UIxAclEditor.wox b/UI/Templates/UIxAclEditor.wox index 5690e603d..4a40367d2 100644 --- a/UI/Templates/UIxAclEditor.wox +++ b/UI/Templates/UIxAclEditor.wox @@ -67,7 +67,7 @@ -
+
+
+ {{acl.confirmation.message}} + + + + + + +
diff --git a/UI/WebServerResources/js/Common/AclController.js b/UI/WebServerResources/js/Common/AclController.js index dd8c0112d..6239eb9d4 100644 --- a/UI/WebServerResources/js/Common/AclController.js +++ b/UI/WebServerResources/js/Common/AclController.js @@ -22,6 +22,8 @@ vm.removeUser = removeUser; vm.addUser = addUser; vm.selectUser = selectUser; + vm.confirmation = { showing: false, + message: ''}; function userFilter($query) { return User.$filter($query, folder.$acl.users); @@ -43,9 +45,8 @@ function confirmChange(user) { var confirmation = user.$confirmRights(); if (confirmation) { - Dialog.confirm(l('Warning'), confirmation).catch(function() { - user.$resetRights(true); - }); + vm.confirmation.showing = true; + vm.confirmation.message = confirmation; } }