]> git.proxmox.com Git - pve-manager.git/commitdiff
change xtype name to follow ExtJS and our own conventions
authorEmmanuel Kasper <e.kasper@proxmox.com>
Thu, 25 Feb 2016 12:20:05 +0000 (13:20 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 26 Feb 2016 06:37:29 +0000 (07:37 +0100)
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
www/manager6/ha/GroupEdit.js
www/manager6/window/Migrate.js
www/manager6/window/MigrateAll.js

index 4a6a788a525c60afcd786c1630700b31e35c4946..c20ed9a49441909c7eaf7bd1eab8c5397f01479a 100644 (file)
@@ -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,
index a618f0c704b75f1c9411f271f1d699ce8283bbfe..a8491b6f28e037bd3fa8c308f17676293a019b91 100644 (file)
@@ -27,7 +27,7 @@ Ext.define('PVE.ha.GroupInputPanel', {
                allowBlank: false
            },
            {
-               xtype: 'PVE.form.NodeSelector',
+               xtype: 'pveNodeSelector',
                name: 'nodes',
                fieldLabel: gettext('Nodes'),
                allowBlank: false,
index 322e3f613f796d9cb9e0215108df3ff3b540aba1..d99b47d92abbf72f37a261ebee9f21218546e50d 100644 (file)
@@ -56,7 +56,7 @@ Ext.define('PVE.window.Migrate', {
            },
            items: [
                {
-                   xtype: 'PVE.form.NodeSelector',
+                   xtype: 'pveNodeSelector',
                    name: 'target',
                    fieldLabel: gettext('Target node'),
                    allowBlank: false,
index fb677f542ff1ed85838fb84cc0a487b993385da6..eebe2b8b2a9e54fd2197b5efb4ec7244d1c7f2c8 100644 (file)
@@ -41,7 +41,7 @@ Ext.define('PVE.window.MigrateAll', {
            },
            items: [
                {
-                   xtype: 'PVE.form.NodeSelector',
+                   xtype: 'pveNodeSelector',
                    name: 'target',
                    fieldLabel: 'Target node',
                    allowBlank: false,