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

Dietmar Maurer dietmar at proxmox.com
Wed Sep 9 17:31:14 CEST 2015


that looks strange to me - is that really required?
The current GUI works for me, so how can I reproduce the bug?

> On September 9, 2015 at 3:21 PM Thomas Lamprecht <t.lamprecht at proxmox.com>
> wrote:
> 
> 
> 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
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list