diff app/controller/form/Messprogramm.js @ 775:311c39a64064

controller debugging
author Dustin Demuth <dustin@intevation.de>
date Tue, 12 May 2015 16:25:17 +0200
parents afc9076db490
children 5a153d36ed4e
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