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 19:52:25 +0100
commitd3583f0c0e30b775bc541f21e9764af624c7f367 (patch)
tree05deec6c76ab76106243026534954df108be6c67 /plugins/acl/acl.js
parenta7d42915a4416c37a2c30e8372e54aacafa84444 (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 d6934780f..aa4293f02 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -132,7 +132,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});