comparison app/view/grid/Messung.js @ 1177:d2724c1642d7

Changed display in MessungGrid
author Evi Huber <ehuber@bfs.de>
date Mon, 11 Jul 2016 10:39:07 +0200
parents d3cf992099a0
children 4270da0f7d3b
comparison
equal deleted inserted replaced
1176:84989f900e59 1177:d2724c1642d7
225 225
226 updateColumn: function(store, record, success, opts) { 226 updateColumn: function(store, record, success, opts) {
227 var value; 227 var value;
228 if (success) { 228 if (success) {
229 if (store.getTotalCount() === 0) { 229 if (store.getTotalCount() === 0) {
230 value = 'Keine'; 230 value = '0';
231 } 231 }
232 else { 232 else {
233 value = store.getTotalCount(); 233 value = store.getTotalCount();
234 } 234 }
235 } 235 }
236 else { 236 else {
237 value = 'k.A.'; 237 value = '-';
238 } 238 }
239 opts.record.beginEdit(); 239 opts.record.beginEdit();
240 opts.record.set(opts.type, value); 240 opts.record.set(opts.type, value);
241 opts.record.endEdit(); 241 opts.record.endEdit();
242 }, 242 },

http://lada.wald.intevation.org