fix #1635: correctly change maxIds in ControllerSelector in wizard

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@proxmox.com>
This commit is contained in:
Dominik Csapak 2018-01-30 10:34:14 +01:00 committed by Wolfgang Bumiller
parent a71b43989e
commit 369e3ecd0a

View File

@ -107,7 +107,7 @@ Ext.define('PVE.form.ControllerSelector', {
flex: 2, flex: 2,
listeners: { listeners: {
change: function(t, value) { change: function(t, value) {
if (!me.rendered || !value) { if (!value) {
return; return;
} }
var field = me.down('field[name=deviceid]'); var field = me.down('field[name=deviceid]');