Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
949:6fb23d793caa | 950:c7bf0b459074 |
---|---|
91 sortable: false, | 91 sortable: false, |
92 }, { | 92 }, { |
93 header: 'Status', | 93 header: 'Status', |
94 dataIndex: 'statusWert', | 94 dataIndex: 'statusWert', |
95 renderer: function(value) { | 95 renderer: function(value) { |
96 if (!value || value === '') { | 96 if (value===null || value === '') { |
97 return ''; | 97 return ''; |
98 } | 98 } |
99 return statusStore.getById(value).get('wert'); | 99 return statusStore.getById(value).get('wert'); |
100 }, | 100 }, |
101 editor: { | 101 editor: { |