]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/data/DiffStore.js
ext5migrate: replace calls to me.model.prototype.fields.each() and Ext.ModelMgr.create
authorEmmanuel Kasper <e.kasper@proxmox.com>
Mon, 15 Jun 2015 13:31:10 +0000 (15:31 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 15 Jun 2015 14:38:24 +0000 (16:38 +0200)
commit5cd975e21d5d4309cdce1576909f5b5ce411115e
tree9f4b36ea70343c130144f0b632c1632fe5d8b6af
parent11514ea3f46a7bc4316833912cb57a2e9220d098
ext5migrate: replace calls to me.model.prototype.fields.each() and Ext.ModelMgr.create

on ExtJS4, me.model.prototype.fields is a config object
containing all the fields of the model, this object has properties like length, keys
on ExtJS 5, me.model.prototype.fields is an array of config object
that we have to iterate to get the field name

Ext.ModelMgr.create() is non-working in ExtJS5
www/manager5/data/DiffStore.js