[Lada-commits] [PATCH 2 of 2] Merged

Wald Commits scm-commit at wald.intevation.org
Thu Dec 10 10:07:18 CET 2015


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1449738368 -3600
# Node ID 53954a9fd6e7e8559b0e5c242724ba16279ce3f3
# Parent  c4c95d340ebee09721b391db01a5b40be923877e
# Parent  abc2e9fe50693a47b736fc755518b6fbb195d9e4
Merged.

diff -r c4c95d340ebe -r 53954a9fd6e7 app/view/form/Messung.js
--- a/app/view/form/Messung.js	Fri Dec 04 16:24:27 2015 +0100
+++ b/app/view/form/Messung.js	Thu Dec 10 10:06:08 2015 +0100
@@ -325,9 +325,6 @@
         this.down('messmethode[name=mmtId]').setReadOnly(value);
         this.down('datetime[name=messzeitpunkt]').setReadOnly(value);
         this.down('numberfield[name=messdauer]').setReadOnly(value);
-        if (!this.getForm().getRecord().get('owner')) {
-        //Only set this Field to Readonly when the User is NOT the Owner of the Record.
-            this.down('chkbox[name=fertig]').setReadOnly(value);
-        }
+        this.down('chkbox[name=fertig]').setReadOnly(value);
     }
 });


More information about the Lada-commits mailing list