[Lada-commits] [PATCH] Clear descriptor s3 if s2 is set to empty value
Wald Commits
scm-commit at wald.intevation.org
Tue Sep 29 12:42:04 CEST 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1443523323 -7200
# Node ID 8dd758b9b8ea5c60ee4f50c779558273ca86e6de
# Parent c8aceb9e60ccb4eca9ae98dacff5d4a49088a7fb
Clear descriptor s3 if s2 is set to empty value.
diff -r c8aceb9e60cc -r 8dd758b9b8ea app/controller/form/Probe.js
--- 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());
More information about the Lada-commits
mailing list