summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-03-01 17:45:43 +0100
committerAleksander Machniak <alec@alec.pl>2013-03-01 17:46:41 +0100
commitf5584cbfeb098fbf26f57c74fa36464a634e2397 (patch)
treee33d32a24ea5ea5d3599ad7dc3ecdd84f70d53b3 /plugins/acl/acl.js
parent91a48642314f0f56ab67286b2be8705020c31dd3 (diff)
Fixed ACL edition in advanced mode
Diffstat (limited to 'plugins/acl/acl.js')
-rw-r--r--plugins/acl/acl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js
index b6e2c811d..d6934780f 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -302,7 +302,7 @@ rcube_webmail.prototype.acl_init_form = function(id)
li_elements.map(function() {
val = this.value;
td = $('td.'+this.id, row);
- if (td && td.hasClass('enabled'))
+ if (td.length && td.hasClass('enabled'))
this.checked = true;
});