[pve-devel] [PATCH manager 3/5] wizard: set config values on top

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Feb 14 13:34:46 CET 2018


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/window/Wizard.js | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/www/manager6/window/Wizard.js b/www/manager6/window/Wizard.js
index c9a695b9..61a22c5d 100644
--- a/www/manager6/window/Wizard.js
+++ b/www/manager6/window/Wizard.js
@@ -2,7 +2,19 @@ Ext.define('PVE.window.Wizard', {
     extend: 'Ext.window.Window',
 
     activeTitle: '', // used for automated testing
-    
+
+    width: 700,
+    height: 510,
+
+    modal: true,
+    border: false,
+
+    draggable: true,
+    closable: true,
+    resizable: false,
+
+    layout: 'border',
+
     getValues: function(dirtyOnly) {
 	var me = this;
 
@@ -97,14 +109,6 @@ Ext.define('PVE.window.Wizard', {
 	}
 
 	Ext.apply(me, {
-	    width: 700,
-	    height: 510,
-	    modal: true,
-	    border: false,
-	    draggable: true,
-	    closable: true,
-	    resizable: false,
-	    layout: 'border',
 	    items: [
 		{
 		    xtype: 'form',
-- 
2.14.2





More information about the pve-devel mailing list