diff app/view/grid/Status.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 45c67a784b31
line wrap: on
line diff
--- a/app/view/grid/Status.js	Mon Nov 02 09:50:41 2015 +0100
+++ b/app/view/grid/Status.js	Tue Nov 03 14:44:01 2015 +0100
@@ -93,7 +93,7 @@
             header: 'Status',
             dataIndex: 'statusWert',
             renderer: function(value) {
-                if (!value || value === '') {
+                if (value===null || value === '') {
                     return '';
                 }
                 return statusStore.getById(value).get('wert');

http://lada.wald.intevation.org