changeset 933:8dd758b9b8ea

Clear descriptor s3 if s2 is set to empty value.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 29 Sep 2015 12:42:03 +0200
parents c8aceb9e60cc
children cd809e56dff6
files app/controller/form/Probe.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/form/Probe.js	Wed Sep 23 07:39:30 2015 +0200
+++ b/app/controller/form/Probe.js	Tue Sep 29 12:42:03 2015 +0200
@@ -265,7 +265,7 @@
             }
             else if (desk.layer === 2 && current[1] === '01') {
                 current[4] = '00';
-//  hier muss noch S3 in der Maske geleert werden
+                desk.up('fieldset').down('deskriptor[layer=3]').clearValue();
             }
         }
         media.setValue(current.join(' ').trim());

http://lada.wald.intevation.org