Mercurial > lada > lada-client
comparison app.js @ 1087:b0873dfcef1d
Messprogramm form redesign
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Fri, 29 Apr 2016 11:01:19 +0200 |
parents | 54457d3f7f63 |
children | 9bcd17f7a0ae a73726bba79c |
comparison
equal
deleted
inserted
replaced
1086:61cc583c3649 | 1087:b0873dfcef1d |
---|---|
155 load: { | 155 load: { |
156 fn: function(store, records) { | 156 fn: function(store, records) { |
157 for (var i = 0; i < mstLabor.length; i++) { | 157 for (var i = 0; i < mstLabor.length; i++) { |
158 var item = store.getById(mstLabor[i].messstelle); | 158 var item = store.getById(mstLabor[i].messstelle); |
159 var itemLabor = store.getById(mstLabor[i].labor); | 159 var itemLabor = store.getById(mstLabor[i].labor); |
160 if (!itemLabor) { | |
161 continue; | |
162 } | |
160 mstLaborStore.add({ | 163 mstLaborStore.add({ |
161 id: i, | 164 id: i, |
162 messStelle: mstLabor[i].messstelle, | 165 messStelle: mstLabor[i].messstelle, |
163 netzbetreiberId: item.get('netzbetreiberId'), | 166 netzbetreiberId: item.get('netzbetreiberId'), |
164 laborMst: mstLabor[i].labor, | 167 laborMst: mstLabor[i].labor, |