Mercurial > lada > lada-client
changeset 1010:94a6b5415d73
Fixed edit status in grids.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 21 Jan 2016 08:59:13 +0100 (2016-01-21) |
parents | afb355cc7fb3 |
children | af9879d72310 |
files | app/view/widget/DynamicGrid.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/widget/DynamicGrid.js Thu Jan 21 08:58:35 2016 +0100 +++ b/app/view/widget/DynamicGrid.js Thu Jan 21 08:59:13 2016 +0100 @@ -86,7 +86,7 @@ tooltip: 'Probe öffnen', width: 30, getClass: function (val, meta, rec) { - if ( rec.get('readonly') === false || rec.get('owner') ) { + if ( rec.get('readonly') === false && rec.get('owner') === true) { return 'edit'; } else {