[pve-devel] [PATCH 2/2] ext5migrate: Replace obsolete call to Ext.ModelMgr.create()
Emmanuel Kasper
e.kasper at proxmox.com
Wed May 13 16:41:58 CEST 2015
See 2489e2abe35b46d1c7897dd9431eecaedbccd9e5 for reasoning
---
www/manager5/grid/ResourceGrid.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager5/grid/ResourceGrid.js b/www/manager5/grid/ResourceGrid.js
index 0449573..3dfbc45 100644
--- a/www/manager5/grid/ResourceGrid.js
+++ b/www/manager5/grid/ResourceGrid.js
@@ -102,7 +102,7 @@ Ext.define('PVE.grid.ResourceGrid', {
if (!olditem) {
//console.log("GRID ADD UID: " + item.data.id);
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);
continue;
}
--
2.1.4
More information about the pve-devel
mailing list