[pve-devel] [PATCH manager 46/49] use InputPanel from widget toolkit

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jan 23 11:06:03 CET 2018


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak 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 02e83359..aec62613 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -67,7 +67,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 338b4c53..e12c83f2 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 4b41ea0a..fa926ad6 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 92337852..7f1bde9a 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 6e47cdc2..33d640c5 100644
--- a/www/manager6/dc/SecurityGroups.js
+++ b/www/manager6/dc/SecurityGroups.js
@@ -49,7 +49,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 46bbced6..d0be5e7b 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 55585ee3..85b30371 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 4570b6a2..3a879f8d 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 4feb8c11..41718bed 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 5d1eb939..512cbf9d 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 6a7e8a99..827869e8 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 f7ca8e73..1b574239 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 68d785a6..5feabcea 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',
@@ -108,7 +108,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 47c08d77..9a08160a 100644
--- a/www/manager6/panel/IPSet.js
+++ b/www/manager6/panel/IPSet.js
@@ -208,7 +208,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 422537c5..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()) {
-                Proxmox.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 4c12bfb6..19d5d50a 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 aa5684da..a2ef45ff 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 3a63f898..11c1edbc 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 9c979e24..c6aaf0db 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 3f591409..bc6d6018 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 6ad4fc00..efb70467 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 fff6f213..f17a3689 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 5b2e02bf..11ff3223 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 63a5fb8d..b230ec34 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.14.2





More information about the pve-devel mailing list