diff 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
line wrap: on
line diff
--- a/app.js	Fri Apr 29 10:20:05 2016 +0200
+++ b/app.js	Fri Apr 29 11:01:19 2016 +0200
@@ -157,6 +157,9 @@
                         for (var i = 0; i < mstLabor.length; i++) {
                             var item = store.getById(mstLabor[i].messstelle);
                             var itemLabor = store.getById(mstLabor[i].labor);
+                            if (!itemLabor) {
+                                continue;
+                            }
                             mstLaborStore.add({
                                 id: i,
                                 messStelle: mstLabor[i].messstelle,

http://lada.wald.intevation.org