[Lada-commits] [PATCH 2 of 2] Reload stammdaten orte store to have all orte objects available

Wald Commits scm-commit at wald.intevation.org
Fri May 27 14:51:48 CEST 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1464353501 -7200
# Node ID 7ac4d811cf89153209e6e5a4df107a5f623ec908
# Parent  5ceb0381ae73df45514a3f7976b83bf51b6cc016
Reload stammdaten orte store to have all orte objects available.

diff -r 5ceb0381ae73 -r 7ac4d811cf89 app/controller/Ort.js
--- a/app/controller/Ort.js	Fri May 27 14:51:12 2016 +0200
+++ b/app/controller/Ort.js	Fri May 27 14:51:41 2016 +0200
@@ -123,6 +123,7 @@
             success: function(record, response) {
                 var grid = Ext.ComponentQuery.query('ortstammdatengrid')[0];
                 grid.store.reload();
+                Ext.StoreManager.get('orte').load();
             },
             failure: function(record, response) {
               var json = response.request.scope.reader.jsonData;


More information about the Lada-commits mailing list