comparison app/view/grid/Messung.js @ 799:ad24af3fcf89

created StatusWerte Store to correctly display textual representation of a Status in a MessungenGrid
author Dustin Demuth <dustin@intevation.de>
date Thu, 21 May 2015 15:54:25 +0200
parents 69cb367c0a63
children ee8cce4b4522
comparison
equal deleted inserted replaced
798:ff4330d4aba1 799:ad24af3fcf89
191 } 191 }
192 else { 192 else {
193 value = sstore.last().get('status'); 193 value = sstore.last().get('status');
194 } 194 }
195 if (Ext.fly(opts.divId)) { 195 if (Ext.fly(opts.divId)) {
196 Ext.fly(opts.divId).update(value); 196 var sta = Ext.create('Lada.store.StatusWerte');
197 var val = sta.getById(value).get('display');
198 Ext.fly(opts.divId).update(val);
197 } 199 }
198 }, 200 },
199 201
200 setReadOnly: function(b) { 202 setReadOnly: function(b) {
201 if (b == true){ 203 if (b == true){

http://lada.wald.intevation.org