[Lada-commits] [PATCH] Show staat iso code in orte grids

Wald Commits scm-commit at wald.intevation.org
Thu Feb 2 11:13:14 CET 2017


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1486030389 -3600
# Node ID 6043187c6e8dc6f5a74a2b90b85859d249f3b470
# Parent  171eacf989d81b179f395644a552c5b5aa030ebe
Show staat iso code in orte grids.

diff -r 171eacf989d8 -r 6043187c6e8d app/view/grid/Orte.js
--- a/app/view/grid/Orte.js	Thu Feb 02 11:04:01 2017 +0100
+++ b/app/view/grid/Orte.js	Thu Feb 02 11:13:09 2017 +0100
@@ -121,7 +121,7 @@
             dataIndex: 'staatId',
             width: 70,
             renderer: function(value) {
-                if (!value) {
+                if (value === undefined || value === '') {
                     return '';
                 }
                 var staaten = Ext.data.StoreManager.get('staaten');


More information about the Lada-commits mailing list