[pve-devel] [PATCH manager 4/8] ext6migrate: fix KVCombobox behaviour in qemu

Dominik Csapak d.csapak at proxmox.com
Fri Mar 18 14:36:07 CET 2016


for details see commit:
7515e62236b9f3c8317c3aa0dbf470e2b8efdd71

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/qemu/Clone.js        | 2 +-
 www/manager6/qemu/HDEdit.js       | 2 +-
 www/manager6/qemu/QemuBiosEdit.js | 2 +-
 www/manager6/qemu/ScsiHwEdit.js   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/manager6/qemu/Clone.js b/www/manager6/qemu/Clone.js
index 03322eb..617b66e 100644
--- a/www/manager6/qemu/Clone.js
+++ b/www/manager6/qemu/Clone.js
@@ -149,7 +149,7 @@ Ext.define('PVE.window.Clone', {
             name: 'clonemode',
             allowBlank: false,
 	    value: me.isTemplate ? 'clone' : 'copy',
-            data: modelist
+            comboItems: modelist
         });
 
         me.mon(me.kv1, 'change', function(t, value) {
diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js
index b8ca4e5..37cd8c7 100644
--- a/www/manager6/qemu/HDEdit.js
+++ b/www/manager6/qemu/HDEdit.js
@@ -219,7 +219,7 @@ Ext.define('PVE.qemu.HDInputPanel', {
 	me.column2.push({
 	    xtype: 'CacheTypeSelector',
 	    name: 'cache',
-	    value: '',
+	    value: '__default__',
 	    fieldLabel: gettext('Cache')
 	});
 
diff --git a/www/manager6/qemu/QemuBiosEdit.js b/www/manager6/qemu/QemuBiosEdit.js
index f3e9bd0..ac6689f 100644
--- a/www/manager6/qemu/QemuBiosEdit.js
+++ b/www/manager6/qemu/QemuBiosEdit.js
@@ -9,7 +9,7 @@ Ext.define('PVE.qemu.BiosEdit', {
 	    items: {
 		xtype: 'pveQemuBiosSelector',
 		name: 'bios',
-		value: '',
+		value: '__default__',
 		fieldLabel: 'BIOS'
 	    }
 	});
diff --git a/www/manager6/qemu/ScsiHwEdit.js b/www/manager6/qemu/ScsiHwEdit.js
index 47cd4b4..cbab596 100644
--- a/www/manager6/qemu/ScsiHwEdit.js
+++ b/www/manager6/qemu/ScsiHwEdit.js
@@ -9,7 +9,7 @@ Ext.define('PVE.qemu.ScsiHwEdit', {
 	    items: {
 		xtype: 'pveScsiHwSelector',
 		name: 'scsihw',
-		value: '',
+		value: '__default__',
 		fieldLabel: gettext('Type')
 	    }
 	});
-- 
2.1.4





More information about the pve-devel mailing list