fix bug #640: cd edit in gui

Signed-off-by: w.link@proxmox.com <Wolfgang Link>
This commit is contained in:
w.link@proxmox.com 2015-06-11 09:46:08 +02:00 committed by Dietmar Maurer
parent adc00b90f3
commit 394c32fd13

View File

@ -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