[Lada-commits] [PATCH 1 of 2] Fixed field names

Wald Commits scm-commit at wald.intevation.org
Wed Mar 18 14:46:33 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426686388 -3600
# Node ID 05e4ad93d0213f76ad16f6bea5c088d504844163
# Parent  f4fef1d3a2cee39bb996a9e89ec9df01c27011c0
Fixed field names.

diff -r f4fef1d3a2ce -r 05e4ad93d021 app/view/form/Probe.js
--- 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);
     },
 


More information about the Lada-commits mailing list