comparison app/controller/Ort.js @ 1145:7ac4d811cf89

Reload stammdaten orte store to have all orte objects available.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 27 May 2016 14:51:41 +0200
parents c213c3dc51d2
children d312e514875c
comparison
equal deleted inserted replaced
1144:5ceb0381ae73 1145:7ac4d811cf89
121 var i18n = Lada.getApplication().bundle; 121 var i18n = Lada.getApplication().bundle;
122 context.record.save({ 122 context.record.save({
123 success: function(record, response) { 123 success: function(record, response) {
124 var grid = Ext.ComponentQuery.query('ortstammdatengrid')[0]; 124 var grid = Ext.ComponentQuery.query('ortstammdatengrid')[0];
125 grid.store.reload(); 125 grid.store.reload();
126 Ext.StoreManager.get('orte').load();
126 }, 127 },
127 failure: function(record, response) { 128 failure: function(record, response) {
128 var json = response.request.scope.reader.jsonData; 129 var json = response.request.scope.reader.jsonData;
129 if (json) { 130 if (json) {
130 if (json.message){ 131 if (json.message){

http://lada.wald.intevation.org