[pve-devel] [PATCH manager v3 5/6] PVE.qemu.OSTypeEdit: declare static
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Sep 22 14:20:26 CEST 2017
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
www/manager6/qemu/OSTypeEdit.js | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/www/manager6/qemu/OSTypeEdit.js b/www/manager6/qemu/OSTypeEdit.js
index d7c27e99..1235ddfd 100644
--- a/www/manager6/qemu/OSTypeEdit.js
+++ b/www/manager6/qemu/OSTypeEdit.js
@@ -106,14 +106,13 @@ Ext.define('PVE.qemu.OSTypeInputPanel', {
Ext.define('PVE.qemu.OSTypeEdit', {
extend: 'PVE.window.Edit',
+ subject: 'OS Type',
+
+ items: [{ xtype: 'pveQemuOSTypePanel' }],
+
initComponent : function() {
var me = this;
- Ext.apply(me, {
- subject: 'OS Type',
- items: [{ xtype: 'pveQemuOSTypePanel' }]
- });
-
me.callParent();
me.load({
--
2.11.0
More information about the pve-devel
mailing list