Mercurial > lada > lada-client
annotate app/store/Ortedetails.js @ 432:f4185f2d1a7c
Only load verwaltungseinheit if there is a selected ort.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 08 Nov 2013 12:54:48 +0100 |
parents | f9bb1ecf6462 |
children | debfcc7713e3 |
rev | line source |
---|---|
337
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
260
diff
changeset
|
1 /** |
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
260
diff
changeset
|
2 * Store for Ortedetails |
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
260
diff
changeset
|
3 */ |
153
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 Ext.define('Lada.store.Ortedetails', { |
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 extend: 'Ext.data.Store', |
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 model: 'Lada.model.Ortdetail', |
260
70a1b5962930
Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
153
diff
changeset
|
7 sorters: [{ |
422
f9bb1ecf6462
Removed trailing commas.
Raimund Renkert <rrenkert@intevation.de>
parents:
337
diff
changeset
|
8 property: 'bezeichnung' |
260
70a1b5962930
Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
153
diff
changeset
|
9 }], |
153
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 autoLoad: true |
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 }); |