[pve-devel] [PATCH] Qemu CreateWizard preselect current node

Dietmar Maurer dietmar at proxmox.com
Wed Apr 24 10:01:13 CEST 2013


> @@ -77,6 +79,10 @@ Ext.define('PVE.form.NodeSelector', {
>  	    }
>  	});
> 
> +        if (me.selectCurNode && PVE.curSelectedNode.data.node) {
> +            me.value = PVE.curSelectedNode.data.node;
> +        }
> +

This does not work, or it is not reliable. Seems we miss some change
signals.

I added a new option 'preferredValue' to PVE.form.ComboGrid.

This is used after load() as default value if the node exists.

Please can you test if that works for you.






More information about the pve-devel mailing list