Admin - better sizing on delete account popup to avoid scrollbar

This commit is contained in:
nathangray 2019-07-22 15:45:25 -06:00
parent 196cd13771
commit 374ebecb2e
2 changed files with 4 additions and 4 deletions

View File

@ -209,7 +209,7 @@ class admin_ui
$actions['delete'] = array( $actions['delete'] = array(
'caption' => 'Delete', 'caption' => 'Delete',
'group' => ++$group, 'group' => ++$group,
'popup' => '615x590', 'popup' => '615x600',
'url' => 'menuaction=admin.admin_account.delete&account_id=$id', 'url' => 'menuaction=admin.admin_account.delete&account_id=$id',
'allowOnMultiple' => false, 'allowOnMultiple' => false,
); );

View File

@ -7,9 +7,9 @@
<description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"/> <description value="Who would you like to transfer records owned by the deleted user to?" class="dialogHeader2"/>
<select-account id="new_owner" empty_label="Delete all records" class="dialogHeader3"/> <select-account id="new_owner" empty_label="Delete all records" class="dialogHeader3"/>
<description value="Automatically transfer entries owned by the user:"/> <description value="Automatically transfer entries owned by the user:"/>
<select id="delete_apps" rows="8" multiple="true" span="2"/> <select id="delete_apps" rows="6" multiple="true" span="2"/>
<description value="Please manually deal with entries owned by the user:"/> <description value="Please manually deal with entries owned by the user:"/>
<grid id="counts"> <grid id="counts" disabled="!@counts">
<columns> <columns>
<column width="150"/> <column width="150"/>
<column/> <column/>
@ -44,7 +44,7 @@
<box class="dialogHeader"> <box class="dialogHeader">
<select-account id="account_id" readonly="true" label="Delete" onchange="var apps = widget.getRoot().getWidgetById('delete_apps'); apps.set_enabled(widget.getValue());"/> <select-account id="account_id" readonly="true" label="Delete" onchange="var apps = widget.getRoot().getWidgetById('delete_apps'); apps.set_enabled(widget.getValue());"/>
</box> </box>
<tabbox id="tabs" width="99%"> <tabbox id="tabs" width="99%" tab_height="400px">
<tabs> <tabs>
<tab id="main" label="Delete"/> <tab id="main" label="Delete"/>
</tabs> </tabs>