diff app/view/widget/DynamicGrid.js @ 1010:94a6b5415d73

Fixed edit status in grids.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 21 Jan 2016 08:59:13 +0100
parents 52b02b0225e8
children 981339d774b8
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 {

http://lada.wald.intevation.org