changeset 1296:6043187c6e8d

Show staat iso code in orte grids.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 02 Feb 2017 11:13:09 +0100
parents 171eacf989d8
children 5dfd5798cbcc
files app/view/grid/Orte.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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');

http://lada.wald.intevation.org