From 3446e53b234c7e608aecd3047aa71ef3b97ed270 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 20 Jul 2011 13:04:23 +0000 Subject: -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 --- plugins/acl/acl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3