]> git.proxmox.com Git - pve-manager.git/commitdiff
PVE.qemu.OSTypeEdit: declare static
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Sep 2017 12:20:26 +0000 (14:20 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 Sep 2017 12:11:50 +0000 (14:11 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/qemu/OSTypeEdit.js

index d7c27e99121d1e52945b548e38b386bd449a6281..1235ddfdce61fb827837d6b71099761c30dbbdf4 100644 (file)
@@ -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({