diff app/controller/Proben.js @ 496:d07e5086a64b

Moved stammdaten stores to app.js and load them via storemanager.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 06 Nov 2014 10:35:35 +0100
parents 850ccfe5f3c4
children 7c0653e8d9f7
line wrap: on
line diff
--- a/app/controller/Proben.js	Mon Nov 03 12:12:24 2014 +0100
+++ b/app/controller/Proben.js	Thu Nov 06 10:35:35 2014 +0100
@@ -89,7 +89,6 @@
     stores: [
         'Proben',
         'Zusatzwerte',
-        'Probenzusatzwerte',
         'KommentareP',
         'Orte',
         'Messungen'
@@ -216,7 +215,7 @@
         var id = record.get('id');
         console.log('id is: ' + id);
         // Load Zusatzwerte
-        var pstore = this.getProbenzusatzwerteStore();
+        var pstore = Ext.data.StoreManager.get('staProbenzusaetze');
         pstore.load();
         var zstore = this.getZusatzwerteStore();
         zstore.load({

http://lada.wald.intevation.org