[Lada-commits] [PATCH 2 of 4] Complement clearing of Messprogramm form

Wald Commits scm-commit at wald.intevation.org
Fri Jul 1 14:16:36 CEST 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1467374109 -7200
# Node ID e9bf88db2bbb96e4cd63ff1cc8fe719ef9be2fc1
# Parent  57030ad1e7d896fd961b74c9888e9d2da642e5ab
Complement clearing of Messprogramm form.

diff -r 57030ad1e7d8 -r e9bf88db2bbb app/view/form/Messprogramm.js
--- a/app/view/form/Messprogramm.js	Fri Jul 01 12:00:01 2016 +0200
+++ b/app/view/form/Messprogramm.js	Fri Jul 01 13:55:09 2016 +0200
@@ -616,11 +616,16 @@
         this.down('chkbox[name=test]').clearWarningOrError();
         this.down('cbox[name=probenartId]').clearWarningOrError();
         this.down('cbox[name=netzbetreiberId]').clearWarningOrError();
+        // clear messages in intervall definition
+        this.down('fset[name=probenIntervallFieldset]').clearMessages();
+        this.down('cbox[name=probenintervall]').clearWarningOrError();
+        this.down('fset[name=gueltigPeriodFieldset]').clearMessages();
+        this.down('datetime[name=gueltigVon]').clearWarningOrError();
+        this.down('datetime[name=gueltigBis]').clearWarningOrError();
         //no clear for probeNehmerId
         // Deskriptoren are missing
         this.down('cbox[name=umwId]').clearWarningOrError();
-        this.down('fset[name=gueltigPeriodFieldset]').clearMessages();
-        this.down('fset[name=probenIntervallFieldset]').clearMessages();
+        this.down('cbox[name=ortId]').clearWarningOrError();
     },
 
     setReadOnly: function(value) {


More information about the Lada-commits mailing list