Mercurial > lada > lada-client
annotate app/override/JSON.js @ 971:37f30b01788c
Uses a filtered store for the messtellen in PKommentare and MKommentare grids. This narrows down the list of selectable messstellen to those the user is currently associtated to
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Mon, 16 Nov 2015 11:51:11 +0100 |
parents | 60a3e9809ea4 |
children |
rev | line source |
---|---|
679
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
2 * Software engineering by Intevation GmbH |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
3 * |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
7 */ |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
8 |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
9 |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
10 // The Date returned by EXT-JSON serializer has to contain the timezone identifier |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
11 |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
12 Ext.define("Lada.override.JSON", { |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
13 override: 'Ext.JSON', |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
14 encodeDate: function(o){ |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
15 return '"' + Ext.Date.format(o, 'c') + '"'; |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
16 } |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
17 }); |
60a3e9809ea4
moved code from translations_de.js into proper overrides
Dustin Demuth <dustin@intevation.de>
parents:
diff
changeset
|
18 |