[pve-devel] how to get currently selected node in ExtJS?

Dietmar Maurer dietmar at proxmox.com
Mon Apr 22 06:55:50 CEST 2013


> > All people i was talking to wanted the node they're currently selected
> > to be preselected in the create wizard. They all created vms on the
> > wrong nodes ;-)
> 
> In Workspace.js, we call setContent() every time the user selects someting.
> 
> Maybe you can use that to store the last selected node into a global var?

Or maybe it is better/easier to do that in PVE.node.Config




More information about the pve-devel mailing list