changeset 775:311c39a64064

controller debugging
author Dustin Demuth <dustin@intevation.de>
date Tue, 12 May 2015 16:25:17 +0200
parents afc9076db490
children da14e0f3e599
files app/controller/form/Messprogramm.js
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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

http://lada.wald.intevation.org