changeset 1167:e9bf88db2bbb

Complement clearing of Messprogramm form.
author Tom Gottfried <tom@intevation.de>
date Fri, 01 Jul 2016 13:55:09 +0200
parents 57030ad1e7d8
children 40a07eb873bf
files app/view/form/Messprogramm.js
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) {

http://lada.wald.intevation.org