Thomas Bruederli
2015-03-12 78118e3f60d87637ec20cd0199ef029bd1e192b0
plugins/acl/acl.js
@@ -347,9 +347,12 @@
    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(
        '<div style="width:480px;height:280px">&nbsp;</div>',
        popup_wrapper,
        id ? this.gettext('acl.editperms') : this.gettext('acl.newuser'),
        buttons,
        {
@@ -364,8 +367,6 @@
            }
        }
    );
    this.acl_form.appendTo(this.acl_popup).show();
    if (type == 'user')
        name_input.focus();