annotate app/store/Info.js @ 280:1afccc0cab90

Issue55: Added ignoreFields parameter to the setReadonly function to be able to ignore some fields when setting the form into read only state.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 08 Aug 2013 11:11:55 +0200
parents d19ad9d28de5
children 39297b8e5ba2
rev   line source
259
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
1 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
2 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
3 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
4 proxy: {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
5 type: 'rest',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
6 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
7 reader: {
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
8 type: 'json',
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
9 root: 'data'
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
10 }
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
11 }
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 });
d19ad9d28de5 Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13

http://lada.wald.intevation.org