This allow those properties to be easily overriden in subclasses in a later step
---
 www/manager6/window/Wizard.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/www/manager6/window/Wizard.js b/www/manager6/window/Wizard.js
index 7ae58776..26c3ceaf 100644
--- a/www/manager6/window/Wizard.js
+++ b/www/manager6/window/Wizard.js
@@ -1,5 +1,13 @@
 Ext.define('PVE.window.Wizard', {
     extend: 'Ext.window.Window',
+    width: 620,
+    height: 450,
+    modal: true,
+    border: false,
+    draggable: true,
+    closable: true,
+    resizable: false,
+    layout: 'border',
 
     activeTitle: '', // used for automated testing
     
@@ -175,14 +183,6 @@ Ext.define('PVE.window.Wizard', {
        }
 
        Ext.apply(me, {
-           width: 620,
-           height: 450,
-           modal: true,
-           border: false,
-           draggable: true,
-           closable: true,
-           resizable: false,
-           layout: 'border',
            items: [
                {
                    // disabled for now - not really needed
-- 
2.11.0


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

Reply via email to