mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 15:41:01 +00:00
ext5migrate: replace deprecated call Ext.ModelMgr.create()
Ext.ModelMgr.create() was removed in 5.* The recommended way to create a new instance is to call Ext.create() Ext.create() does not take a "id" argument, however it sets the id of the instance to the id of the config object given to the Ext.create() call.
This commit is contained in:
parent
ffea9ce702
commit
a736e4b749
@ -114,7 +114,7 @@ Ext.define('PVE.tree.ResourceTree', {
|
||||
}
|
||||
}
|
||||
}
|
||||
var child = Ext.ModelMgr.create(info, 'PVETree', info.id);
|
||||
var child = Ext.create('PVETree', info);
|
||||
|
||||
var cs = node.childNodes;
|
||||
var pos;
|
||||
|
Loading…
Reference in New Issue
Block a user