Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/grid/Messung.js Thu May 21 15:23:49 2015 +0200 +++ b/app/view/grid/Messung.js Thu May 21 15:54:25 2015 +0200 @@ -193,7 +193,9 @@ value = sstore.last().get('status'); } if (Ext.fly(opts.divId)) { - Ext.fly(opts.divId).update(value); + var sta = Ext.create('Lada.store.StatusWerte'); + var val = sta.getById(value).get('display'); + Ext.fly(opts.divId).update(val); } },