[Lada-commits] [PATCH] clear ortstore before new record is loaded

Wald Commits scm-commit at wald.intevation.org
Thu Feb 2 13:46:45 CET 2017


# HG changeset patch
# User Maximilian Krambach <mkrambach at intevation.de>
# Date 1486039601 -3600
# Node ID 996607be47528fa0de60015e4ce0b529a88761ee
# Parent  322da3ad0c0b71548469001a01c7696cd459009f
clear ortstore before new record is loaded

diff -r 322da3ad0c0b -r 996607be4752 app/view/window/Ortszuordnung.js
--- a/app/view/window/Ortszuordnung.js	Thu Feb 02 13:33:38 2017 +0100
+++ b/app/view/window/Ortszuordnung.js	Thu Feb 02 13:46:41 2017 +0100
@@ -190,6 +190,7 @@
         osg.setLoading(true);
         map.setLoading(true);
         this.ortstore = Ext.data.StoreManager.get('orte');
+	this.ortstore.load();
         var ortId;
         if (this.messprogramm) {
             ortId = this.record.get('ort');


More information about the Lada-commits mailing list