summaryrefslogtreecommitdiff
path: root/plugins/acl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/acl')
-rw-r--r--plugins/acl/acl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js
index 1ad25576c..5c7a6d41f 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -151,7 +151,8 @@ rcube_webmail.prototype.acl_list_keypress = function(list)
if (list.key_pressed == list.ENTER_KEY)
this.command('acl-edit');
else if (list.key_pressed == list.DELETE_KEY || list.key_pressed == list.BACKSPACE_KEY)
- this.command('acl-delete');
+ if (!this.acl_form || !this.acl_form.is(':visible'))
+ this.command('acl-delete');
}
// Reloads ACL table