mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 23:54:24 +00:00
use new pveBackupModeSelector
This commit is contained in:
parent
7404e8fe90
commit
61af114dae
@ -36,19 +36,18 @@ Ext.define('PVE.window.Backup', {
|
|||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
storagesel,
|
storagesel,
|
||||||
|
{
|
||||||
|
xtype: 'pveBackupModeSelector',
|
||||||
|
fieldLabel: 'Mode',
|
||||||
|
value: 'snapshot',
|
||||||
|
name: 'mode'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pvecheckbox',
|
xtype: 'pvecheckbox',
|
||||||
name: 'compress',
|
name: 'compress',
|
||||||
uncheckedValue: 0,
|
uncheckedValue: 0,
|
||||||
checked: true,
|
checked: true,
|
||||||
fieldLabel: 'Compress'
|
fieldLabel: 'Compress'
|
||||||
},
|
|
||||||
{
|
|
||||||
xtype: 'pvecheckbox',
|
|
||||||
name: 'snapshot',
|
|
||||||
uncheckedValue: 0,
|
|
||||||
checked: true,
|
|
||||||
fieldLabel: 'Snapshot mode'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
@ -68,7 +67,7 @@ Ext.define('PVE.window.Backup', {
|
|||||||
storage: storage,
|
storage: storage,
|
||||||
vmid: me.vmid,
|
vmid: me.vmid,
|
||||||
compress: values.compress,
|
compress: values.compress,
|
||||||
snapshot: values.snapshot
|
mode: values.mode
|
||||||
},
|
},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
failure: function (response, opts) {
|
failure: function (response, opts) {
|
||||||
|
Loading…
Reference in New Issue
Block a user