also move static parameters out of initComponent() for proper panel
initialization
---
 www/manager6/node/Summary.js | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/www/manager6/node/Summary.js b/www/manager6/node/Summary.js
index 6d44869..b01f848 100644
--- a/www/manager6/node/Summary.js
+++ b/www/manager6/node/Summary.js
@@ -2,6 +2,13 @@ Ext.define('PVE.node.Summary', {
     extend: 'Ext.panel.Panel',
     alias: 'widget.pveNodeSummary',
 
+    scrollable: true,
+    bodyStyle: 'padding:10px',
+    defaults: {
+       width: 800,
+       style: { 'padding-top': '10px' }
+    },
+
     showVersions: function() {
        var me = this;
 
@@ -94,12 +101,6 @@ Ext.define('PVE.node.Summary', {
        });
 
        Ext.apply(me, {
-           autoScroll: true,
-           bodyStyle: 'padding:10px',
-           defaults: {
-               width: 800,
-               style: { 'padding-top': '10px' }
-           },          
            tbar: [version_btn, '->', { xtype: 'pveRRDTypeSelector' } ],
            items: [
                statusview,
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to