From 394c32fd13c5607436c6d136d8c796252cbb55ff Mon Sep 17 00:00:00 2001 From: "w.link@proxmox.com" Date: Thu, 11 Jun 2015 09:46:08 +0200 Subject: [PATCH] fix bug #640: cd edit in gui Signed-off-by: w.link@proxmox.com --- 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 5cc24c970..89f2f4e53 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