[pve-devel] applied: [PATCH manager] fix #1635: correctly change maxIds in ControllerSelector in wizard

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Jan 31 14:04:49 CET 2018


On Tue, Jan 30, 2018 at 10:34:14AM +0100, Dominik Csapak wrote:
> we want to change the maxIds value even when not rendered, since
> in the wizard, the controller can change from a different panel in the
> tabpanel
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/form/ControllerSelector.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/form/ControllerSelector.js b/www/manager6/form/ControllerSelector.js
> index bc00eebf..66e41579 100644
> --- a/www/manager6/form/ControllerSelector.js
> +++ b/www/manager6/form/ControllerSelector.js
> @@ -107,7 +107,7 @@ Ext.define('PVE.form.ControllerSelector', {
>  		    flex: 2,
>  		    listeners: {
>  			change: function(t, value) {
> -			    if (!me.rendered || !value) {
> +			    if (!value) {
>  				return;
>  			    }
>  			    var field = me.down('field[name=deviceid]');
> -- 
> 2.11.0




More information about the pve-devel mailing list