annotate app/store/Info.js @ 413:e1af66012ef0 0.6

Reverse displayFields Array before configuring the columns of the result list. Now the displayed columns are in the same order as defined in the query configuration file.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 23 Sep 2013 14:26:09 +0200
parents 39297b8e5ba2
children debfcc7713e3
rev   line source
337
39297b8e5ba2 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 259
diff changeset
1 /**
39297b8e5ba2 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 259
diff changeset
2 * Store for Info
39297b8e5ba2 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 259
diff changeset
3 */
259
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
4 Ext.define('Lada.store.Info', {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 extend: 'Ext.data.Store',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 fields: ['user', 'groups', 'version'],
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
7 proxy: {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 type: 'rest',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 url: 'server/rest/info',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 reader: {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 type: 'json',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 root: 'data'
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 }
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
14 }
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
15 });
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
16

http://lada.wald.intevation.org