diff app/view/form/Messung.js @ 950:c7bf0b459074

Fixed some issues when the status is null
author Dustin Demuth <dustin@intevation.de>
date Tue, 03 Nov 2015 14:44:01 +0100
parents 023e622f9551
children b401846e7817
line wrap: on
line diff
--- a/app/view/form/Messung.js	Mon Nov 02 09:50:41 2015 +0100
+++ b/app/view/form/Messung.js	Tue Nov 03 14:44:01 2015 +0100
@@ -155,7 +155,7 @@
             function(records, operation, success) {
                 var ret;
                 var i18n = Lada.getApplication().bundle;
-                if (sStore.getTotalCount() === 0) {
+                if (sStore.getTotalCount() === 0 || !statusId) {
                     ret = 0;
                 }
                 else {

http://lada.wald.intevation.org