diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-03-12 13:45:30 +0100 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-03-12 13:45:30 +0100 |
commit | 686f0dacddc045a4db4557d9932f1ae596a90fe0 (patch) | |
tree | 25c000ae3392b9424db54d250d089ffb8782574e /plugins/acl/acl.js | |
parent | 0f63aa390f0d957c206ab63db5c53447226dd6a0 (diff) |
Simplify HTML structure of ACL dialogs
Diffstat (limited to 'plugins/acl/acl.js')
-rw-r--r-- | plugins/acl/acl.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js index af52b5b6f..f1e9922fb 100644 --- a/plugins/acl/acl.js +++ b/plugins/acl/acl.js @@ -347,12 +347,9 @@ rcube_webmail.prototype.acl_init_form = function(id) buttons[this.gettext('save')] = function(e) { me.command('acl-save'); }; buttons[this.gettext('cancel')] = function(e) { me.command('acl-cancel'); }; - var popup_wrapper = $('<div style="width:480px; min-height:280px"></div>'); - this.acl_form.appendTo(popup_wrapper).show(); - // display it as popup this.acl_popup = this.show_popup_dialog( - popup_wrapper, + this.acl_form.show(), id ? this.gettext('acl.editperms') : this.gettext('acl.newuser'), buttons, { |