Mercurial > lada > lada-client
diff app/model/Zusatzwert.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/model/Zusatzwert.js Mon Nov 03 12:12:24 2014 +0100 +++ b/app/model/Zusatzwert.js Thu Nov 06 10:35:35 2014 +0100 @@ -52,8 +52,8 @@ }, getMesseinheit: function(pzsId) { - var zstore = Ext.getStore('StaProbenzusaetze'); - var mstore = Ext.getStore('StaMesseinheiten'); + var zstore = Ext.data.StoreManager.get('staProbenzusaetze'); + var mstore = Ext.data.StoreManager.get('staMesseinheiten'); var mehId = zstore.getById(pzsId).get('mehId'); console.log('mehid: ' + mehId); var record = mstore.getById(mehId);