changeset 987:53954a9fd6e7

Merged.
author Tom Gottfried <tom@intevation.de>
date Thu, 10 Dec 2015 10:06:08 +0100
parents c4c95d340ebe (current diff) abc2e9fe5069 (diff)
children b892eb346f14
files
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }
 });

http://lada.wald.intevation.org