From affabd9a4b24d08ac4beb5828fc0103b4f36e3ef Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Tue, 04 Feb 2014 16:50:15 -0500 Subject: [PATCH] Fix some glitches in ACL table display --- plugins/acl/acl.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js index 6da96f3..0ee45d7 100644 --- a/plugins/acl/acl.js +++ b/plugins/acl/acl.js @@ -134,7 +134,9 @@ // 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}); -- Gitblit v1.9.1