Re: [pve-devel] [PATCH v2 manager] fix #2810: reset state properly when editing mount features of containers

2020-06-23 Thread Fabian Grünbichler
On June 22, 2020 3:55 pm, Oguz Bektas wrote: > initializing 'mounts' array in the panel scope causes edits on subsequent > containers to get the values (mount=nfs) from the previous container. fix > this by > initializing the 'mounts' array in 'onGetValues' and 'setValues' > separately. > > Signe

[pve-devel] [PATCH v2 manager] fix #2810: reset state properly when editing mount features of containers

2020-06-22 Thread Oguz Bektas
initializing 'mounts' array in the panel scope causes edits on subsequent containers to get the values (mount=nfs) from the previous container. fix this by initializing the 'mounts' array in 'onGetValues' and 'setValues' separately. Signed-off-by: Oguz Bektas --- www/manager6/lxc/FeaturesEdit.j