ext6migrate: Replace deprecated function which is missing in Ext6
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
This commit is contained in:
parent
cad206bfa2
commit
48b60bfa30
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user