[Lada-commits] [PATCH 1 of 4] In some cases there was an error bc. the Item in the StatuswerteStore was not found. this is fixed now

Wald Commits scm-commit at wald.intevation.org
Fri May 29 08:24:16 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1432803973 -7200
# Node ID ee8cce4b45222591821a6d67043a0fe94b0f95b7
# Parent  188a9faf96e0ea8876c3e5aaafb214f1b588a87f
In some cases there was an error bc. the Item in the StatuswerteStore was not found. this is fixed now.

diff -r 188a9faf96e0 -r ee8cce4b4522 app/view/grid/Messung.js
--- 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');


More information about the Lada-commits mailing list