[Lada-commits] [PATCH 2 of 5] controller debugging
Wald Commits
scm-commit at wald.intevation.org
Tue May 12 17:01:12 CEST 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1431440717 -7200
# Node ID 311c39a64064055b142d8e9caf3d9e56e265c53c
# Parent afc9076db49053728b00fe1de624d2503f17eb10
controller debugging
diff -r afc9076db490 -r 311c39a64064 app/controller/form/Messprogramm.js
--- a/app/controller/form/Messprogramm.js Tue May 12 16:11:05 2015 +0200
+++ b/app/controller/form/Messprogramm.js Tue May 12 16:25:17 2015 +0200
@@ -26,11 +26,10 @@
'messprogrammform': {
dirtychange: this.dirtyForm
},
- 'messprogrammform numberfield[name=teilintervallBis]': {
- change: this.synchronizeSlider,
+ 'messprogrammform gueltigPeriod datetime': {
blur: this.checkPeriod
},
- 'messprogrammform numberfield[name=teilintervallVon]': {
+ 'messprogrammform probenintervall numberfield': {
change: this.synchronizeSlider,
blur: this.checkPeriod
},
@@ -185,7 +184,7 @@
* The function validates if the start is smaller than end.
*/
checkPeriod: function(field) {
-
+ alert();
// This field might be a field within a Period.
// Search for Partner field (period: end/start) and validate
// End Before Start validation
More information about the Lada-commits
mailing list