]> git.proxmox.com Git - pve-manager.git/commit
ext6migrate: fix IPRefSelector ComboGrid
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 4 Feb 2016 13:46:39 +0000 (14:46 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 4 Feb 2016 17:05:54 +0000 (18:05 +0100)
commit61bd78886648eaa6277f9de7eb39c4bdd9171876
tree045fb63387419a2d779ba0de03007b7dc920249a
parent6cc50c804437c45e564b9f101870496ea71aab42
ext6migrate: fix IPRefSelector ComboGrid

The IPrefSelector ComboGrid can have selected values which are not backed
by the component store, ie the store only contains IP aliases, but
the ComboGrid can contain an IP adress not registered as an IP alias.

In that case we should not try to update the selection in the dropdown,
as the dropdown only knows about the component store.

Implementation is similar to the syncSelection() private method of the
ExtJS4 ComboBox.
www/manager6/form/ComboGrid.js