]> git.proxmox.com Git - pve-manager.git/commit
fix wizard validity logic
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 22 Apr 2016 08:00:46 +0000 (10:00 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 22 Apr 2016 08:29:41 +0000 (10:29 +0200)
commitdd8988e8a05f4d573ce3fa465b5418e077dd97ed
treea5e1673aed43be65f1646383fe12b104d8485631
parentea31930bcd45fc13c22313a81c7ab2164a9eb218
fix wizard validity logic

we always checked the validity of the panels of the wizard,
when the event validitychange of a subelement triggered,
sadly this does not always happen

for example:

when switching back and forth between 'cdrom' and iso
while having no valid iso selected, the validitchange does not
trigger for the combogrids

instead we listen to the 'change' event, then the check will
be executed at the right time

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/window/Wizard.js