[pve-devel] [PATCH pve-manager 4/4] rename 'autoscroll' parameter to 'scrollable' following framework changes
Emmanuel Kasper
e.kasper at proxmox.com
Wed Feb 17 14:53:58 CET 2016
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
More information about the pve-devel
mailing list