summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-20 13:04:23 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-20 13:04:23 +0000
commit3446e53b234c7e608aecd3047aa71ef3b97ed270 (patch)
tree4a3f13eb8b7a8f0eb47fc80df1835f2068fb4da9
parent1a6d8448ec92a6ef6e4eb642eba48695cfe07f1c (diff)
-Fix handling of backspace and del key on acl table when form is active
git-svn-id: https://svn.roundcube.net/trunk@4944 208e9e7b-5314-0410-a742-e7e81cd9613c
-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