]> git.proxmox.com Git - pve-manager-legacy.git/commit
check if storage is in the selector
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 11 Jul 2017 12:39:20 +0000 (14:39 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 13 Jul 2017 07:48:44 +0000 (09:48 +0200)
commite013e4a553bb472b58feff699dcfc7f9f47fcf1d
treea6314e339f53c762ed97bda93e8967d01fd95e6c
parentbeffe38dd4699390fd70b45d144a842dfe6d0e87
check if storage is in the selector

when having an lxc mountpoint/rootfs on a storage which does not
allow the 'rootfs' content (e.g. somebody disabled it after creating
a container there), trying to edit the mp/rootfs broke the gui

now we check if the record exists

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