Commit 6ea2c67c authored by Dietmar Maurer's avatar Dietmar Maurer

use new pveBackupModeSelector

parent 8747655a
......@@ -37,18 +37,17 @@ Ext.define('PVE.window.Backup', {
items: [
storagesel,
{
xtype: 'pvecheckbox',
name: 'compress',
uncheckedValue: 0,
checked: true,
fieldLabel: 'Compress'
xtype: 'pveBackupModeSelector',
fieldLabel: 'Mode',
value: 'snapshot',
name: 'mode'
},
{
xtype: 'pvecheckbox',
name: 'snapshot',
name: 'compress',
uncheckedValue: 0,
checked: true,
fieldLabel: 'Snapshot mode'
fieldLabel: 'Compress'
}
]
});
......@@ -68,7 +67,7 @@ Ext.define('PVE.window.Backup', {
storage: storage,
vmid: me.vmid,
compress: values.compress,
snapshot: values.snapshot
mode: values.mode
},
method: 'POST',
failure: function (response, opts) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment