[pve-devel] [PATCH manager 2/2] fix reset button with bind mounts

Dominik Csapak d.csapak at proxmox.com
Wed May 18 15:55:21 CEST 2016


if we do not disable the storageselector with bind mounts,
it automatically sets the first storage which can hold
containers (because of allowBlank: false) and triggers
the dirty flag but clicking on reset does not delete
the value there

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/lxc/ResourceEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index fd731ef..d88a0d4 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -250,6 +250,7 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
 	    me.acl.setDisabled(true);
 	    me.backup.setDisabled(true);
 	    me.acl.setValue('Default');
+	    me.hdstoragesel.setDisabled(true);
 	}
 
 	me.setValues(mp);
-- 
2.1.4





More information about the pve-devel mailing list