[pve-devel] [PATCH] fix cd edit in gui

Wolfgang Link w.link at proxmox.com
Thu Jun 11 09:46:08 CEST 2015


From: "w.link at proxmox.com" <Wolfgang Link>

Bug 640

Signed-off-by: w.link at proxmox.com <Wolfgang Link>
---
 www/manager/qemu/HardwareView.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/manager/qemu/HardwareView.js b/www/manager/qemu/HardwareView.js
index 5cc24c9..89f2f4e 100644
--- a/www/manager/qemu/HardwareView.js
+++ b/www/manager/qemu/HardwareView.js
@@ -244,8 +244,9 @@ Ext.define('PVE.qemu.HardwareView', {
 	    }
 
 	    var win;
-	    if (Ext.isString(rowdef.editor)) {
-		win = Ext.create(rowdef.editor, {
+
+	    if (Ext.isString(editor)) {
+		win = Ext.create(editor, {
 		    pveSelNode: me.pveSelNode,
 		    confid: rec.data.key,
 		    url: '/api2/extjs/' + baseurl
-- 
2.1.4





More information about the pve-devel mailing list