diff app/view/form/Messung.js @ 985:abc2e9fe5069

Handle Fertig Flag like all other Attributes
author Dustin Demuth <dustin@intevation.de>
date Thu, 10 Dec 2015 09:28:26 +0100
parents a2c2039bb5d9
children c943340176d4
line wrap: on
line diff
--- a/app/view/form/Messung.js	Mon Nov 30 14:52:59 2015 +0100
+++ b/app/view/form/Messung.js	Thu Dec 10 09:28:26 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