changeset 813:ee8cce4b4522

In some cases there was an error bc. the Item in the StatuswerteStore was not found. this is fixed now.
author Dustin Demuth <dustin@intevation.de>
date Thu, 28 May 2015 11:06:13 +0200
parents 188a9faf96e0
children af54733a6d48
files app/view/grid/Messung.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/grid/Messung.js	Wed May 27 16:59:23 2015 +0200
+++ b/app/view/grid/Messung.js	Thu May 28 11:06:13 2015 +0200
@@ -187,7 +187,7 @@
     updateStatusColumn: function(sstore, record, success, opts) {
         var value;
         if (sstore.getTotalCount() === 0) {
-            value = 'unbekannt';
+            value = 0;
         }
         else {
             value = sstore.last().get('status');

http://lada.wald.intevation.org