From a3644638aaf0418598196a870204e0b632a4c8ad Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 17 Apr 2015 06:28:40 -0400
Subject: [PATCH] Allow preference sections to define CSS class names

---
 plugins/acl/acl.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js
index e6a84ff..f1e9922 100644
--- a/plugins/acl/acl.js
+++ b/plugins/acl/acl.js
@@ -349,7 +349,7 @@
 
     // display it as popup
     this.acl_popup = this.show_popup_dialog(
-        '<div style="width:480px;height:280px">&nbsp;</div>',
+        this.acl_form.show(),
         id ? this.gettext('acl.editperms') : this.gettext('acl.newuser'),
         buttons,
         {
@@ -364,8 +364,6 @@
             }
         }
     );
-
-    this.acl_form.appendTo(this.acl_popup).show();
 
     if (type == 'user')
         name_input.focus();

--
Gitblit v1.9.1