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 | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js index 1463453..f1e9922 100644 --- a/plugins/acl/acl.js +++ b/plugins/acl/acl.js @@ -349,10 +349,11 @@ // display it as popup this.acl_popup = this.show_popup_dialog( - '<div style="width:480px;height:280px"> </div>', + this.acl_form.show(), id ? this.gettext('acl.editperms') : this.gettext('acl.newuser'), buttons, { + button_classes: ['mainaction'], modal: true, closeOnEscape: true, close: function(e, ui) { @@ -363,8 +364,6 @@ } } ); - - this.acl_form.appendTo(this.acl_popup).show(); if (type == 'user') name_input.focus(); -- Gitblit v1.9.1