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

Dietmar Maurer dietmar at proxmox.com
Mon Apr 22 06:53:05 CEST 2013


> > The question is why you need that?
> >
> 
> 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?



More information about the pve-devel mailing list