[pve-devel] [PATCH manager v2 26/29] use InputPanel from widget toolkit

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Dec 19 08:55:18 CET 2017


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/Makefile                 |   1 -
 www/manager6/dc/ACLView.js            |   2 +-
 www/manager6/dc/AuthEdit.js           |   2 +-
 www/manager6/dc/Backup.js             |   2 +-
 www/manager6/dc/SecurityGroups.js     |   2 +-
 www/manager6/dc/UserEdit.js           |   2 +-
 www/manager6/grid/FirewallAliases.js  |   2 +-
 www/manager6/grid/FirewallRules.js    |   4 +-
 www/manager6/ha/GroupEdit.js          |   2 +-
 www/manager6/ha/ResourceEdit.js       |   2 +-
 www/manager6/lxc/DNS.js               |   2 +-
 www/manager6/lxc/MPEdit.js            |   2 +-
 www/manager6/lxc/Network.js           |   2 +-
 www/manager6/lxc/ResourceEdit.js      |   4 +-
 www/manager6/panel/IPSet.js           |   2 +-
 www/manager6/panel/InputPanel.js      | 124 ----------------------------------
 www/manager6/qemu/BootOrderEdit.js    |   2 +-
 www/manager6/qemu/CDEdit.js           |   2 +-
 www/manager6/qemu/CPUOptions.js       |   2 +-
 www/manager6/qemu/HDEdit.js           |   2 +-
 www/manager6/qemu/HDEfi.js            |   2 +-
 www/manager6/qemu/HDThrottle.js       |   2 +-
 www/manager6/qemu/MemoryEdit.js       |   2 +-
 www/manager6/qemu/NetworkEdit.js      |   2 +-
 www/manager6/qemu/OSTypeEdit.js       |   2 +-
 www/manager6/qemu/ProcessorEdit.js    |   2 +-
 www/manager6/qemu/Smbios1Edit.js      |   2 +-
 www/manager6/qemu/USBEdit.js          |   2 +-
 www/manager6/storage/DirEdit.js       |   2 +-
 www/manager6/storage/GlusterFsEdit.js |   2 +-
 www/manager6/storage/IScsiEdit.js     |   2 +-
 www/manager6/storage/LVMEdit.js       |   2 +-
 www/manager6/storage/LvmThinEdit.js   |   2 +-
 www/manager6/storage/NFSEdit.js       |   2 +-
 www/manager6/storage/RBDEdit.js       |   2 +-
 www/manager6/storage/SheepdogEdit.js  |   2 +-
 www/manager6/storage/ZFSEdit.js       |   2 +-
 www/manager6/storage/ZFSPoolEdit.js   |   2 +-
 www/manager6/window/StartupEdit.js    |   2 +-
 39 files changed, 39 insertions(+), 164 deletions(-)
 delete mode 100644 www/manager6/panel/InputPanel.js

diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index a1d088b2..752f118d 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -76,7 +76,6 @@ JSSRC= 				                 	\
 	panel/RunningChart.js				\
 	panel/InfoWidget.js				\
 	panel/TemplateStatusView.js			\
-	panel/InputPanel.js				\
 	panel/HealthWidget.js				\
 	window/LoginWindow.js				\
 	window/Wizard.js				\
diff --git a/www/manager6/dc/ACLView.js b/www/manager6/dc/ACLView.js
index 6ab6e93c..878a6309 100644
--- a/www/manager6/dc/ACLView.js
+++ b/www/manager6/dc/ACLView.js
@@ -55,7 +55,7 @@ Ext.define('PVE.dc.ACLAdd', {
 	    });
 	}
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    items: items,
 	    onlineHelp: 'pveum_permission_management'
 	});
diff --git a/www/manager6/dc/AuthEdit.js b/www/manager6/dc/AuthEdit.js
index d44820d2..f7fba8ce 100644
--- a/www/manager6/dc/AuthEdit.js
+++ b/www/manager6/dc/AuthEdit.js
@@ -190,7 +190,7 @@ Ext.define('PVE.dc.AuthEdit', {
             fieldLabel: 'Yubico URL'
         });
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    column1: column1,
 	    column2: column2,
 	    columnB: [{
diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 1622d6b7..833d062a 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -193,7 +193,7 @@ Ext.define('PVE.dc.BackupEdit', {
 	];
 	/*jslint confusion: false*/
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    onlineHelp: 'chapter_vzdump',
 	    column1: column1,
 	    column2:  column2,
diff --git a/www/manager6/dc/SecurityGroups.js b/www/manager6/dc/SecurityGroups.js
index 54066b5a..4c4d0199 100644
--- a/www/manager6/dc/SecurityGroups.js
+++ b/www/manager6/dc/SecurityGroups.js
@@ -42,7 +42,7 @@ Ext.define('PVE.SecurityGroupEdit', {
 	    });
         }
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	// InputPanel does not have a 'create' property, does it need a 'isCreate'
 	    isCreate: me.isCreate,
 	    items: items 
diff --git a/www/manager6/dc/UserEdit.js b/www/manager6/dc/UserEdit.js
index 4b467104..d46d0465 100644
--- a/www/manager6/dc/UserEdit.js
+++ b/www/manager6/dc/UserEdit.js
@@ -151,7 +151,7 @@ Ext.define('PVE.dc.UserEdit', {
             });
         }
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    column1: column1,
 	    column2: column2,
 	    columnB: columnB,
diff --git a/www/manager6/grid/FirewallAliases.js b/www/manager6/grid/FirewallAliases.js
index c7e52594..1224ac89 100644
--- a/www/manager6/grid/FirewallAliases.js
+++ b/www/manager6/grid/FirewallAliases.js
@@ -39,7 +39,7 @@ Ext.define('PVE.FirewallAliasEdit', {
 	    }
 	];
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    isCreate: me.isCreate,
 	    items: items
 	});
diff --git a/www/manager6/grid/FirewallRules.js b/www/manager6/grid/FirewallRules.js
index c1da2e6e..b62b9a57 100644
--- a/www/manager6/grid/FirewallRules.js
+++ b/www/manager6/grid/FirewallRules.js
@@ -47,7 +47,7 @@ Ext.define('PVE.form.FWMacroSelector', {
 });
 
 Ext.define('PVE.FirewallRulePanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     allow_iface: false,
 
@@ -332,7 +332,7 @@ Ext.define('PVE.FirewallGroupRuleEdit', {
 	    });
 	}
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    isCreate: me.isCreate,
 	    column1: column1,
 	    column2: [
diff --git a/www/manager6/ha/GroupEdit.js b/www/manager6/ha/GroupEdit.js
index b48ae06c..b66a1a7b 100644
--- a/www/manager6/ha/GroupEdit.js
+++ b/www/manager6/ha/GroupEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.ha.GroupInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     onlineHelp: 'ha_manager_groups',
 
     groupId: undefined,
diff --git a/www/manager6/ha/ResourceEdit.js b/www/manager6/ha/ResourceEdit.js
index 9a00d812..f562dd87 100644
--- a/www/manager6/ha/ResourceEdit.js
+++ b/www/manager6/ha/ResourceEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.ha.VMResourceInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     onlineHelp: 'ha_manager_resource_config',
     vmid: undefined,
     
diff --git a/www/manager6/lxc/DNS.js b/www/manager6/lxc/DNS.js
index 1a9f4d9e..e0269464 100644
--- a/www/manager6/lxc/DNS.js
+++ b/www/manager6/lxc/DNS.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.lxc.DNSInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveLxcDNSInputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/lxc/MPEdit.js b/www/manager6/lxc/MPEdit.js
index 59308ddb..28352ee3 100644
--- a/www/manager6/lxc/MPEdit.js
+++ b/www/manager6/lxc/MPEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.lxc.MountPointInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveLxcMountPointInputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/lxc/Network.js b/www/manager6/lxc/Network.js
index aaf15bef..c1fa00b9 100644
--- a/www/manager6/lxc/Network.js
+++ b/www/manager6/lxc/Network.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.lxc.NetworkInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveLxcNetworkInputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index eae003a4..2137c488 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -37,7 +37,7 @@ Ext.define('PVE.lxc.CPUEdit', {
 });
 
 Ext.define('PVE.lxc.CPUInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveLxcCPUInputPanel',
 
     onlineHelp: 'pct_cpu',
@@ -107,7 +107,7 @@ Ext.define('PVE.lxc.CPUInputPanel', {
 });
 
 Ext.define('PVE.lxc.MemoryInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveLxcMemoryInputPanel',
 
     onlineHelp: 'pct_memory',
diff --git a/www/manager6/panel/IPSet.js b/www/manager6/panel/IPSet.js
index 81d280d1..0e6b1b0a 100644
--- a/www/manager6/panel/IPSet.js
+++ b/www/manager6/panel/IPSet.js
@@ -218,7 +218,7 @@ Ext.define('PVE.IPSetCidrEdit', {
 	    });
 	}
 
-	var ipanel = Ext.create('PVE.panel.InputPanel', {
+	var ipanel = Ext.create('Proxmox.panel.InputPanel', {
 	    isCreate: me.isCreate,
 	    column1: column1,
 	    column2: [
diff --git a/www/manager6/panel/InputPanel.js b/www/manager6/panel/InputPanel.js
deleted file mode 100644
index e5afd9a9..00000000
--- a/www/manager6/panel/InputPanel.js
+++ /dev/null
@@ -1,124 +0,0 @@
-Ext.define('PVE.panel.InputPanel', {
-    extend: 'Ext.panel.Panel',
-    alias: ['widget.inputpanel'],
-    listeners: {
-	activate: function() {
-	    // notify owning container that it should display a help button
-	    if (this.onlineHelp) {
-		Ext.GlobalEvents.fireEvent('pveShowHelp', this.onlineHelp);
-	    }
-	},
-	deactivate: function() {
-	    if (this.onlineHelp) {
-		Ext.GlobalEvents.fireEvent('pveHideHelp', this.onlineHelp);
-	    }
-	}
-    },
-    border: false,
-
-    // override this with an URL to a relevant chapter of the pve manual
-    // setting this will display a help button in our parent panel
-    onlineHelp: undefined,
-
-    // overwrite this to modify submit data
-    onGetValues: function(values) {
-	return values;
-    },
-
-    getValues: function(dirtyOnly) {
-	var me = this;
-
-	if (Ext.isFunction(me.onGetValues)) {
-	    dirtyOnly = false;
-	}
-
-	var values = {};
-
-	Ext.Array.each(me.query('[isFormField]'), function(field) {
-            if (!dirtyOnly || field.isDirty()) {
-                PVE.Utils.assemble_field_data(values, field.getSubmitData());
-	    }
-	});
-
-	return me.onGetValues(values);
-    },
-
-    setValues: function(values) {
-	var me = this;
-
-	var form = me.up('form');
-
-        Ext.iterate(values, function(fieldId, val) {
-	    var field = me.query('[isFormField][name=' + fieldId + ']')[0];
-            if (field) {
-		field.setValue(val);
-                if (form.trackResetOnLoad) {
-                    field.resetOriginalValue();
-                }
-            }
-	});
-    },
-
-    initComponent: function() {
-	var me = this;
-
-	var items;
-	
-	if (me.items) {
-	    me.columns = 1;
-	    items = [
-		{
-		    columnWidth: 1,
-		    layout: 'anchor',
-		    items: me.items
-		}
-	    ];
-	    me.items = undefined;
-	} else if (me.column1) {
-	    me.columns = 2;
-	    items = [
-		{
-		    columnWidth: 0.5,
-		    padding: '0 10 0 0',
-		    layout: 'anchor',
-		    items: me.column1
-		},
-		{
-		    columnWidth: 0.5,
-		    padding: '0 0 0 10',
-		    layout: 'anchor',
-		    items: me.column2 || [] // allow empty column
-		}
-	    ];
-	    if (me.columnB) {
-		items.push({
-		    columnWidth: 1,
-		    padding: '10 0 0 0',
-		    layout: 'anchor',
-		    items: me.columnB
-		});
-	    }
-	} else {
-	    throw "unsupported config";
-	}
-
-	if (me.useFieldContainer) {
-	    Ext.apply(me, {
-		layout: 'fit',
-		items: Ext.apply(me.useFieldContainer, { 
-		    layout: 'column',
-		    defaultType: 'container',
-		    items: items
-		})
-	    });
-	} else {
-	    Ext.apply(me, {
-		layout: 'column',
-		defaultType: 'container',
-		items: items
-	    });
-	}
-	
-	me.callParent();
-    }
-});
diff --git a/www/manager6/qemu/BootOrderEdit.js b/www/manager6/qemu/BootOrderEdit.js
index 6b71eefd..ad280bc7 100644
--- a/www/manager6/qemu/BootOrderEdit.js
+++ b/www/manager6/qemu/BootOrderEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.BootOrderPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuBootOrderPanel',
     vmconfig: {}, // store loaded vm config
 
diff --git a/www/manager6/qemu/CDEdit.js b/www/manager6/qemu/CDEdit.js
index 8b6e944c..925b3e8d 100644
--- a/www/manager6/qemu/CDEdit.js
+++ b/www/manager6/qemu/CDEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.CDInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuCDInputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/qemu/CPUOptions.js b/www/manager6/qemu/CPUOptions.js
index f158be92..8a37ee19 100644
--- a/www/manager6/qemu/CPUOptions.js
+++ b/www/manager6/qemu/CPUOptions.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.CPUOptionsInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.PVE.qemu.CPUOptionsInputPanel',
 
     onGetValues: function(values) {
diff --git a/www/manager6/qemu/HDEdit.js b/www/manager6/qemu/HDEdit.js
index 73f51cd2..f9a38f21 100644
--- a/www/manager6/qemu/HDEdit.js
+++ b/www/manager6/qemu/HDEdit.js
@@ -1,7 +1,7 @@
 /*jslint confusion: true */
 /* 'change' property is assigned a string and then a function */
 Ext.define('PVE.qemu.HDInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuHDInputPanel',
     onlineHelp: 'qm_hard_disk',
 
diff --git a/www/manager6/qemu/HDEfi.js b/www/manager6/qemu/HDEfi.js
index f228e849..3820078d 100644
--- a/www/manager6/qemu/HDEfi.js
+++ b/www/manager6/qemu/HDEfi.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.EFIDiskInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveEFIDiskInputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/qemu/HDThrottle.js b/www/manager6/qemu/HDThrottle.js
index 8dca6f56..c65c3b86 100644
--- a/www/manager6/qemu/HDThrottle.js
+++ b/www/manager6/qemu/HDThrottle.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.HDThrottleInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.PVE.qemu.HDThrottleInputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/qemu/MemoryEdit.js b/www/manager6/qemu/MemoryEdit.js
index 79d3e4f9..81cd96d6 100644
--- a/www/manager6/qemu/MemoryEdit.js
+++ b/www/manager6/qemu/MemoryEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.MemoryInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuMemoryPanel',
     onlineHelp: 'qm_memory',
 
diff --git a/www/manager6/qemu/NetworkEdit.js b/www/manager6/qemu/NetworkEdit.js
index bd093819..b676e4d4 100644
--- a/www/manager6/qemu/NetworkEdit.js
+++ b/www/manager6/qemu/NetworkEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.NetworkInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuNetworkInputPanel',
     onlineHelp: 'qm_network_device',
 
diff --git a/www/manager6/qemu/OSTypeEdit.js b/www/manager6/qemu/OSTypeEdit.js
index eb33c98b..b0901704 100644
--- a/www/manager6/qemu/OSTypeEdit.js
+++ b/www/manager6/qemu/OSTypeEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.OSTypeInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuOSTypePanel',
     onlineHelp: 'qm_os_settings',
     insideWizard: false,
diff --git a/www/manager6/qemu/ProcessorEdit.js b/www/manager6/qemu/ProcessorEdit.js
index 4a7f27ba..600e9d21 100644
--- a/www/manager6/qemu/ProcessorEdit.js
+++ b/www/manager6/qemu/ProcessorEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.ProcessorInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.pveQemuProcessorPanel',
     onlineHelp: 'qm_cpu',
 
diff --git a/www/manager6/qemu/Smbios1Edit.js b/www/manager6/qemu/Smbios1Edit.js
index 31ea4558..fdb0d150 100644
--- a/www/manager6/qemu/Smbios1Edit.js
+++ b/www/manager6/qemu/Smbios1Edit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.Smbios1InputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     alias: 'widget.PVE.qemu.Smbios1InputPanel',
 
     insideWizard: false,
diff --git a/www/manager6/qemu/USBEdit.js b/www/manager6/qemu/USBEdit.js
index cf1ec427..1ca8a0eb 100644
--- a/www/manager6/qemu/USBEdit.js
+++ b/www/manager6/qemu/USBEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.qemu.USBInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     autoComplete: false,
     onlineHelp: 'qm_usb_passthrough',
diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
index 54b7ab49..45ef329a 100644
--- a/www/manager6/storage/DirEdit.js
+++ b/www/manager6/storage/DirEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.storage.DirInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     controller: 'storageEdit',
 
     onGetValues: function(values) {
diff --git a/www/manager6/storage/GlusterFsEdit.js b/www/manager6/storage/GlusterFsEdit.js
index 503a475b..dbf8c053 100644
--- a/www/manager6/storage/GlusterFsEdit.js
+++ b/www/manager6/storage/GlusterFsEdit.js
@@ -58,7 +58,7 @@ Ext.define('PVE.storage.GlusterFsScan', {
 });
 
 Ext.define('PVE.storage.GlusterFsInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     controller: 'storageEdit',
 
     onGetValues: function(values) {
diff --git a/www/manager6/storage/IScsiEdit.js b/www/manager6/storage/IScsiEdit.js
index 1cc22353..b673bc3a 100644
--- a/www/manager6/storage/IScsiEdit.js
+++ b/www/manager6/storage/IScsiEdit.js
@@ -57,7 +57,7 @@ Ext.define('PVE.storage.IScsiScan', {
 });
 
 Ext.define('PVE.storage.IScsiInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/storage/LVMEdit.js b/www/manager6/storage/LVMEdit.js
index b1246738..b822d226 100644
--- a/www/manager6/storage/LVMEdit.js
+++ b/www/manager6/storage/LVMEdit.js
@@ -84,7 +84,7 @@ Ext.define('PVE.storage.BaseStorageSelector', {
 });
 
 Ext.define('PVE.storage.LVMInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/storage/LvmThinEdit.js b/www/manager6/storage/LvmThinEdit.js
index 5379fb83..bb9a4f1e 100644
--- a/www/manager6/storage/LvmThinEdit.js
+++ b/www/manager6/storage/LvmThinEdit.js
@@ -92,7 +92,7 @@ Ext.define('PVE.storage.BaseVGSelector', {
 });
 
 Ext.define('PVE.storage.LvmThinInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/storage/NFSEdit.js b/www/manager6/storage/NFSEdit.js
index 03c38f3b..2397dd29 100644
--- a/www/manager6/storage/NFSEdit.js
+++ b/www/manager6/storage/NFSEdit.js
@@ -58,7 +58,7 @@ Ext.define('PVE.storage.NFSScan', {
 });
 
 Ext.define('PVE.storage.NFSInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     controller: 'storageEdit',
 
     onGetValues: function(values) {
diff --git a/www/manager6/storage/RBDEdit.js b/www/manager6/storage/RBDEdit.js
index aff23dde..1e46f9ee 100644
--- a/www/manager6/storage/RBDEdit.js
+++ b/www/manager6/storage/RBDEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.storage.RBDInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/storage/SheepdogEdit.js b/www/manager6/storage/SheepdogEdit.js
index d8e3674d..90d87337 100644
--- a/www/manager6/storage/SheepdogEdit.js
+++ b/www/manager6/storage/SheepdogEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.storage.SheepdogInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/storage/ZFSEdit.js b/www/manager6/storage/ZFSEdit.js
index c37a7335..ac85b359 100644
--- a/www/manager6/storage/ZFSEdit.js
+++ b/www/manager6/storage/ZFSEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.storage.ZFSInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/storage/ZFSPoolEdit.js b/www/manager6/storage/ZFSPoolEdit.js
index 5974ecfa..56ed0f84 100644
--- a/www/manager6/storage/ZFSPoolEdit.js
+++ b/www/manager6/storage/ZFSPoolEdit.js
@@ -35,7 +35,7 @@ Ext.define('PVE.storage.ZFSPoolSelector', {
 });
 
 Ext.define('PVE.storage.ZFSPoolInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
 
     onGetValues: function(values) {
 	var me = this;
diff --git a/www/manager6/window/StartupEdit.js b/www/manager6/window/StartupEdit.js
index dd3ab253..82bf8d39 100644
--- a/www/manager6/window/StartupEdit.js
+++ b/www/manager6/window/StartupEdit.js
@@ -1,5 +1,5 @@
 Ext.define('PVE.panel.StartupInputPanel', {
-    extend: 'PVE.panel.InputPanel',
+    extend: 'Proxmox.panel.InputPanel',
     onlineHelp: 'qm_startup_and_shutdown',
 
     onGetValues: function(values) {
-- 
2.11.0





More information about the pve-devel mailing list