Mercurial > lada > lada-client
diff app/view/grid/Messung.js @ 813:ee8cce4b4522
In some cases there was an error bc. the Item in the StatuswerteStore was not found. this is fixed now.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 28 May 2015 11:06:13 +0200 |
parents | ad24af3fcf89 |
children | 5ed0e6273888 |
line wrap: on
line diff
--- a/app/view/grid/Messung.js Wed May 27 16:59:23 2015 +0200 +++ b/app/view/grid/Messung.js Thu May 28 11:06:13 2015 +0200 @@ -187,7 +187,7 @@ updateStatusColumn: function(sstore, record, success, opts) { var value; if (sstore.getTotalCount() === 0) { - value = 'unbekannt'; + value = 0; } else { value = sstore.last().get('status');