changeset 652:05e4ad93d021

Fixed field names.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Mar 2015 14:46:28 +0100
parents f4fef1d3a2ce
children 9f557bd48c30
files app/view/form/Probe.js
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/form/Probe.js	Wed Mar 18 14:44:19 2015 +0100
+++ b/app/view/form/Probe.js	Wed Mar 18 14:46:28 2015 +0100
@@ -336,10 +336,10 @@
         this.down('cbox[name=netzbetreiberId]').clearWarningOrError();
         this.down('tfield[name=x11]').clearWarningOrError();
         this.down('cbox[name=umwId]').clearWarningOrError();
-        this.down('datef[name=probeentnahmeBeginn]').clearWarningOrError();
-        this.down('datef[name=probeentnahmeEnde]').clearWarningOrError();
-        this.down('datef[name=solldatumBeginn]').clearWarningOrError();
-        this.down('datef[name=solldatumEnde]').clearWarningOrError();
+        this.down('datetime[name=probeentnahmeBeginn]').clearWarningOrError();
+        this.down('datetime[name=probeentnahmeEnde]').clearWarningOrError();
+        this.down('datetime[name=solldatumBeginn]').clearWarningOrError();
+        this.down('datetime[name=solldatumEnde]').clearWarningOrError();
         //this.down('cbox[name=probeNehmerId]').setReadOnly(value);
     },
 
@@ -355,10 +355,10 @@
         this.down('textfield[name=media]').setReadOnly(value);
         this.down('textfield[name=mediaDesk]').setReadOnly(value);
         this.down('cbox[name=umwId]').setReadOnly(value);
-        this.down('datef[name=probeentnahmeBeginn]').setReadOnly(value);
-        this.down('datef[name=probeentnahmeEnde]').setReadOnly(value);
-        this.down('datef[name=solldatumBeginn]').setReadOnly(value);
-        this.down('datef[name=solldatumEnde]').setReadOnly(value);
+        this.down('datetime[name=probeentnahmeBeginn]').setReadOnly(value);
+        this.down('datetime[name=probeentnahmeEnde]').setReadOnly(value);
+        this.down('datetime[name=solldatumBeginn]').setReadOnly(value);
+        this.down('datetime[name=solldatumEnde]').setReadOnly(value);
         //this.down('cbox[name=probeNehmerId]').setReadOnly(value);
     },
 

http://lada.wald.intevation.org