From 2965a981b7ec22866fbdf2d567d87e2d068d3617 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 31 Jul 2015 16:04:08 -0400
Subject: [PATCH] Allow to search and import missing PGP pubkeys from keyservers using Publickey.js

---
 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