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

Dominik Csapak d.csapak at proxmox.com
Tue Jan 30 10:34:14 CET 2018


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