]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/window/SafeDestroyStorage.js
2 * SafeDestroy window with additional checkboxes for removing a storage on the disk level.
4 Ext
.define('PVE.window.SafeDestroyStorage', {
5 extend
: 'Proxmox.window.SafeDestroy',
6 alias
: 'widget.pveSafeDestroyStorage',
12 xtype
: 'proxmoxcheckbox',
14 reference
: 'wipeDisksCheckbox',
15 boxLabel
: gettext('Cleanup Disks'),
19 'data-qtip': gettext('Wipe labels and other left-overs'),
23 xtype
: 'proxmoxcheckbox',
24 name
: 'cleanupConfig',
25 reference
: 'cleanupConfigCheckbox',
26 boxLabel
: gettext('Cleanup Storage Configuration'),
31 getParams: function() {
34 me
.params
['cleanup-disks'] = me
.lookupReference('wipeDisksCheckbox').checked
? 1 : 0;
35 me
.params
['cleanup-config'] = me
.lookupReference('cleanupConfigCheckbox').checked
? 1 : 0;
37 return me
.callParent();