summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-02-04 19:52:25 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-02-04 22:50:15 +0100
commitaffabd9a4b24d08ac4beb5828fc0103b4f36e3ef (patch)
tree8fbb63fc3d3c632c627142872deb77d64cb821f7 /plugins/acl/acl.js
parentf147849bb05a48fe721851b2ebc2d0d746e2ca75 (diff)
Fix some glitches in ACL table display
Diffstat (limited to 'plugins/acl/acl.js')
-rw-r--r--plugins/acl/acl.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js
index 6da96f3cc..0ee45d735 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -134,7 +134,9 @@ rcube_webmail.prototype.acl_mode_switch = function(elem)
// ACL table initialization
rcube_webmail.prototype.acl_list_init = function()
{
- $('#acl-switch')[this.env.acl_advanced ? 'addClass' : 'removeClass']('selected');
+ var method = this.env.acl_advanced ? 'addClass' : 'removeClass';
+ $('#acl-switch')[method]('selected');
+ $(this.gui_objects.acltable)[method]('advanced');
this.acl_list = new rcube_list_widget(this.gui_objects.acltable,
{multiselect:true, draggable:false, keyboard:true, toggleselect:true});