Emmanuel Kasper
5997aecaef
ext5migrate: replace call to private ExtJS function getRoot()
...
getRoot() semantics changed with ExtJS5.
To avoid further annoyances when ExtJS6 is around the corner, replace the call
to this private method, set rootProperty in the ObjectStore call,
and use the value of rootProperty to filter out the content of the server
answer.
2015-07-22 12:16:18 +02:00
Emmanuel Kasper
1ee7afe517
Add documentation header
2015-07-22 12:16:01 +02:00
Dietmar Maurer
b2569355ab
copy data/reader/JsonObject.js from manager to manager5
2015-07-03 11:29:11 +02:00
Dietmar Maurer
ff6260d6ba
copy data/ObjectStore.js from manager to manager5
2015-07-03 11:29:11 +02:00
Dietmar Maurer
ffa0c8ec0a
copy data/TimezoneStore.js from manager to manager5
2015-07-03 11:29:11 +02:00
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
Emmanuel Kasper
11514ea3f4
Add documentation header
2015-06-15 16:37:54 +02:00
Emmanuel Kasper
567641e513
Remove unused misspelled parameter
2015-05-29 09:03:59 +02:00
Dietmar Maurer
521bcdac1a
copy data/DiffStore.js from manager to manager5
2015-05-27 16:21:31 +02:00
Emmanuel Kasper
80a04f8ec3
ext5migrate: rename 'root:' property of a Ext.data.reader
...
This has been renamed to 'rootProperty:' in ExtJS 5. Rename our parameter
accordingly to silence the deprecation warning.
2015-04-28 06:46:57 +02:00
Emmanuel Kasper
3b4162189f
ext5migration: move afterRequest() declaration
...
and default values from constructor to class body, needed fix for
"Cannot override method afterRequest on Ext.data.proxy.Ajax instance"
error. See:
https://fiddle.sencha.com/#fiddle/lpe for test fiddle
http://bit.ly/1HJJ0Ej for background
2015-04-28 06:45:03 +02:00
Dietmar Maurer
c45bc501bc
copy UpdateQueue.js from manager to manager5
2015-04-27 11:54:50 +02:00
Emmanuel Kasper
cfb353c894
ext5migration: Replace non working 'text' type with 'string' in model definition
...
See http://stackoverflow.com/questions/29748414/ext-createbyalias-unrecognized-alias-data-field-text-when-migrating-a-ext4
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
2015-04-22 15:44:56 +02:00
Dietmar Maurer
4053fc86f2
copy data/ResourceStore.js from manager to manager5
2015-04-20 06:10:08 +02:00
Dietmar Maurer
3445bd32ba
copy data/UpdateStore.js from manager to manager5
2015-04-20 06:08:47 +02:00
Dietmar Maurer
ac40457879
copy data/PVEProxy.js from manager to manager5
2015-04-20 06:07:49 +02:00