this also fixes the problem that the method Ext.ComponentQuery.query() was outputting a warning since it did not know if it should perform a lookup for a class name or a xtype --- www/manager6/form/NodeSelector.js | 2 +- www/manager6/ha/GroupEdit.js | 2 +- www/manager6/window/Migrate.js | 2 +- www/manager6/window/MigrateAll.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/www/manager6/form/NodeSelector.js b/www/manager6/form/NodeSelector.js index 4a6a788..c20ed9a 100644 --- a/www/manager6/form/NodeSelector.js +++ b/www/manager6/form/NodeSelector.js @@ -1,6 +1,6 @@ Ext.define('PVE.form.NodeSelector', { extend: 'PVE.form.ComboGrid', - alias: ['widget.PVE.form.NodeSelector'], + alias: ['widget.pveNodeSelector'], // invalidate nodes which are offline onlineValidator: false, diff --git a/www/manager6/ha/GroupEdit.js b/www/manager6/ha/GroupEdit.js index a618f0c..a8491b6 100644 --- a/www/manager6/ha/GroupEdit.js +++ b/www/manager6/ha/GroupEdit.js @@ -27,7 +27,7 @@ Ext.define('PVE.ha.GroupInputPanel', { allowBlank: false }, { - xtype: 'PVE.form.NodeSelector', + xtype: 'pveNodeSelector', name: 'nodes', fieldLabel: gettext('Nodes'), allowBlank: false, diff --git a/www/manager6/window/Migrate.js b/www/manager6/window/Migrate.js index 322e3f6..d99b47d 100644 --- a/www/manager6/window/Migrate.js +++ b/www/manager6/window/Migrate.js @@ -56,7 +56,7 @@ Ext.define('PVE.window.Migrate', { }, items: [ { - xtype: 'PVE.form.NodeSelector', + xtype: 'pveNodeSelector', name: 'target', fieldLabel: gettext('Target node'), allowBlank: false, diff --git a/www/manager6/window/MigrateAll.js b/www/manager6/window/MigrateAll.js index fb677f5..eebe2b8 100644 --- a/www/manager6/window/MigrateAll.js +++ b/www/manager6/window/MigrateAll.js @@ -41,7 +41,7 @@ Ext.define('PVE.window.MigrateAll', { }, items: [ { - xtype: 'PVE.form.NodeSelector', + xtype: 'pveNodeSelector', name: 'target', fieldLabel: 'Target node', allowBlank: false, -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel