]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/storage/IScsiEdit.js
ui: dc/storage: allow to renenable iscsi storages again
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 May 2018 06:59:13 +0000 (08:59 +0200)
committerDominik Csapak <d.csapak@proxmox.com>
Fri, 18 May 2018 10:09:57 +0000 (12:09 +0200)
commitff86a291155a528457424511261990dead6c5176
treee91a9c21da7ae90b3fe5416566c4be89a818780d
parent37977fa500cdac5ec265ed7eb487286ed661fc2f
ui: dc/storage: allow to renenable iscsi storages again

The dc/storage refactoring done in
commit f28ec3e4b3e6cca1f45630e75f9858c558680979
introduced a regression where an once deactivated iSCSI storage could
not be activated again through UI, as we did not called the parent
setValue function correctly, thus the Enable checkbox was always set
to true. A uncheck -> check cycle couldn't also be done as the dirty
changes check disabled the submit button in this case.

Enable/Disable through API or CLI still worked.

Reported-by: Bastian Sebode <b.sebode@linet-services.de>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/storage/IScsiEdit.js