[pve-devel] [PAST pve-manager] use correct checked value for ha resource edit dialog

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 9 15:21:09 CEST 2015


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager/ha/ResourceEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager/ha/ResourceEdit.js b/www/manager/ha/ResourceEdit.js
index 962cdda..bc48c70 100644
--- a/www/manager/ha/ResourceEdit.js
+++ b/www/manager/ha/ResourceEdit.js
@@ -54,7 +54,7 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
 	    {
 		xtype: 'pvecheckbox',
 		name: 'enable',
-		checked: true,
+		checked: me.enable,
 		uncheckedValue: 0,
 		fieldLabel: gettext('enable')
 	    }
-- 
2.1.4




More information about the pve-devel mailing list