Commit 2a1fa2c1 authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

ext5migrate: Replace obsolete call to Ext.ModelMgr.create()

See 2489e2ab for reasoning
parent a8e0e57b
...@@ -102,7 +102,7 @@ Ext.define('PVE.grid.ResourceGrid', { ...@@ -102,7 +102,7 @@ Ext.define('PVE.grid.ResourceGrid', {
if (!olditem) { if (!olditem) {
//console.log("GRID ADD UID: " + item.data.id); //console.log("GRID ADD UID: " + item.data.id);
var info = Ext.apply({}, item.data); var info = Ext.apply({}, item.data);
var child = Ext.ModelMgr.create(info, store.model, info.id); var child = Ext.create(store.model, info);
addlist.push(item); addlist.push(item);
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment