Mercurial > lada > lada-client
comparison app.js @ 963:6a6f2c6fe8ee
More work done on StatusWerte and Statusstufe. A Messung will also open when the owner attribute is true. Stauswerte and StatusStufen are loaded at application startup. Statusgrid and Messunggrid now use these stores, which were registered at the store manager.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 12 Nov 2015 12:13:31 +0100 |
parents | f2001df0e494 |
children | a2c2039bb5d9 |
comparison
equal
deleted
inserted
replaced
962:9b6800458a9e | 963:6a6f2c6fe8ee |
---|---|
40 'Lada.store.Pflichtmessgroessen', | 40 'Lada.store.Pflichtmessgroessen', |
41 'Lada.store.Probenarten', | 41 'Lada.store.Probenarten', |
42 'Lada.store.Probenzusaetze', | 42 'Lada.store.Probenzusaetze', |
43 'Lada.store.Staaten', | 43 'Lada.store.Staaten', |
44 'Lada.store.Umwelt', | 44 'Lada.store.Umwelt', |
45 'Lada.store.Verwaltungseinheiten' | 45 'Lada.store.Verwaltungseinheiten', |
46 'Lada.store.StatusWerte', | |
47 'Lada.store.StatusStufe' | |
46 ], | 48 ], |
47 bundle: { | 49 bundle: { |
48 bundle: 'Lada', | 50 bundle: 'Lada', |
49 lang: 'de-DE', | 51 lang: 'de-DE', |
50 path: 'resources/i18n', | 52 path: 'resources/i18n', |
152 storeId: 'umwelt' | 154 storeId: 'umwelt' |
153 }); | 155 }); |
154 Ext.create('Lada.store.Verwaltungseinheiten', { | 156 Ext.create('Lada.store.Verwaltungseinheiten', { |
155 storeId: 'verwaltungseinheiten' | 157 storeId: 'verwaltungseinheiten' |
156 }); | 158 }); |
159 Ext.create('Lada.store.StatusWerte', { | |
160 storeId: 'statuswerte' | |
161 }); | |
162 Ext.create('Lada.store.StatusStufe', { | |
163 storeId: 'statusstufe' | |
164 }); | |
157 }, | 165 }, |
158 | 166 |
159 getServerVersion: function() { | 167 getServerVersion: function() { |
160 var i18n = Lada.getApplication().bundle; | 168 var i18n = Lada.getApplication().bundle; |
161 Ext.Ajax.request({ | 169 Ext.Ajax.request({ |