Commit Graph

4 Commits

Author SHA1 Message Date
Emmanuel Kasper
67641b24ba Add documentation header 2015-06-15 16:39:29 +02:00
Emmanuel Kasper
953d99246e ext5migrate: use 'refresh' event to reload components using DiffStore
'datachanged' event was not reloading the store with ExtJS5,
but 'refresh' does.
According to the API description 'refresh' seems to be what we need:
http://docs.sencha.com/extjs/5.1/5.1.0-apidocs/#!/api/Ext.data.AbstractStore-event-refresh
2015-06-15 16:38:50 +02:00
Emmanuel Kasper
5cd975e21d 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
2015-06-15 16:38:24 +02:00
Dietmar Maurer
521bcdac1a copy data/DiffStore.js from manager to manager5 2015-05-27 16:21:31 +02:00