[pve-devel] [PATCH manager] lxc: correctly display cpulimit

Dietmar Maurer dietmar at proxmox.com
Fri Sep 16 07:40:44 CEST 2016


Applied

> --- a/www/manager6/lxc/ResourceEdit.js
> +++ b/www/manager6/lxc/ResourceEdit.js
> @@ -131,6 +131,7 @@ Ext.define('PVE.lxc.CPUInputPanel', {
>  	    me.column1 = items;
>  	} else {
>  	    me.items = items;
> +	    me.items[0].value = 0;

this is not really nice - I do the following instead:


-               value: '1',
+               value: me.insideWizard ? 1 : 0,




More information about the pve-devel mailing list