ext6migrate: change default values

since KVCombobox expects __default__ as default value
change to this in

DisplayEdit
HDEdit
KeyboardEdit
ProcessorEdit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-03-21 10:53:11 +01:00 committed by Dietmar Maurer
parent ad1b482b2d
commit b3e01b00af
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ Ext.define('PVE.qemu.DisplayEdit', {
displayField = Ext.createWidget('DisplaySelector', {
name: 'vga',
value: '',
value: '__default__',
fieldLabel: gettext('Graphic card'),
validator: validateDisplay
});

View File

@ -92,7 +92,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
values.hdimage = drive.file;
values.nobackup = !PVE.Parser.parseBoolean(drive.backup, 1);
values.diskformat = drive.format || 'raw';
values.cache = drive.cache || '';
values.cache = drive.cache || '__default__';
values.discard = (drive.discard === 'on');
values.iothread = PVE.Parser.parseBoolean(drive.iothread);

View File

@ -9,7 +9,7 @@ Ext.define('PVE.qemu.KeyboardEdit', {
items: {
xtype: 'VNCKeyboardSelector',
name: 'keyboard',
value: '',
value: '__default__',
fieldLabel: gettext('Keyboard Layout')
}
});

View File

@ -86,7 +86,7 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
{
xtype: 'CPUModelSelector',
name: 'cputype',
value: '',
value: '__default__',
fieldLabel: gettext('Type')
},
{