[pve-devel] [PATCH pve-manager 3/3] ext6migrate: Replace deprecated function which is missing in Ext6

Emmanuel Kasper e.kasper at proxmox.com
Thu Nov 12 13:15:28 CET 2015


See http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.container.Container-method-doLayout

This allows the pve manager to load
---
 www/manager5/Workspace.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/manager5/Workspace.js b/www/manager5/Workspace.js
index a4102eb..5dc4d2a 100644
--- a/www/manager5/Workspace.js
+++ b/www/manager5/Workspace.js
@@ -196,7 +196,7 @@ Ext.define('PVE.StdWorkspace', {
 	    PVE.Utils.setErrorMask(cont, false);
 	    comp.border = false;
 	    cont.add(comp);
-	    cont.doLayout();
+	    cont.updateLayout();
 	} 
 	// else {
 	    // TODO: display something useful
@@ -249,7 +249,7 @@ Ext.define('PVE.StdWorkspace', {
 	} else {
 	    ui.update('');
 	}
-	ui.doLayout();
+	ui.updateLayout();
     },
 
     updateVersionInfo: function() {
@@ -264,7 +264,7 @@ Ext.define('PVE.StdWorkspace', {
 	} else {
 	    ui.update('Proxmox Virtual Environment');
 	}
-	ui.doLayout();
+	ui.updateLayout();
     },
 
     initComponent : function() {
-- 
2.1.4




More information about the pve-devel mailing list