From 686f0dacddc045a4db4557d9932f1ae596a90fe0 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 12 Mar 2015 13:45:30 +0100 Subject: [PATCH] Simplify HTML structure of ACL dialogs --- plugins/acl/acl.js | 5 +---- plugins/acl/skins/classic/templates/table.html | 2 +- plugins/acl/skins/larry/templates/table.html | 2 +- 3 files changed, 3 insertions(+), 6 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 = $('
'); - 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, { diff --git a/plugins/acl/skins/classic/templates/table.html b/plugins/acl/skins/classic/templates/table.html index 5c4d2d8a0..f19998cf4 100644 --- a/plugins/acl/skins/classic/templates/table.html +++ b/plugins/acl/skins/classic/templates/table.html @@ -24,7 +24,7 @@ -
+
diff --git a/plugins/acl/skins/larry/templates/table.html b/plugins/acl/skins/larry/templates/table.html index 2854524df..a4399ab98 100644 --- a/plugins/acl/skins/larry/templates/table.html +++ b/plugins/acl/skins/larry/templates/table.html @@ -19,7 +19,7 @@
-