comparison 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
comparison
equal deleted inserted replaced
774:afc9076db490 775:311c39a64064
24 click: this.discard 24 click: this.discard
25 }, 25 },
26 'messprogrammform': { 26 'messprogrammform': {
27 dirtychange: this.dirtyForm 27 dirtychange: this.dirtyForm
28 }, 28 },
29 'messprogrammform numberfield[name=teilintervallBis]': { 29 'messprogrammform gueltigPeriod datetime': {
30 change: this.synchronizeSlider,
31 blur: this.checkPeriod 30 blur: this.checkPeriod
32 }, 31 },
33 'messprogrammform numberfield[name=teilintervallVon]': { 32 'messprogrammform probenintervall numberfield': {
34 change: this.synchronizeSlider, 33 change: this.synchronizeSlider,
35 blur: this.checkPeriod 34 blur: this.checkPeriod
36 }, 35 },
37 'messprogrammform probenintervall combobox': { 36 'messprogrammform probenintervall combobox': {
38 select: this.updateIntervalls 37 select: this.updateIntervalls
183 * checkPeriod() is called when a fields defining an intervall 182 * checkPeriod() is called when a fields defining an intervall
184 * were modified 183 * were modified
185 * The function validates if the start is smaller than end. 184 * The function validates if the start is smaller than end.
186 */ 185 */
187 checkPeriod: function(field) { 186 checkPeriod: function(field) {
188 187 alert();
189 // This field might be a field within a Period. 188 // This field might be a field within a Period.
190 // Search for Partner field (period: end/start) and validate 189 // Search for Partner field (period: end/start) and validate
191 // End Before Start validation 190 // End Before Start validation
192 if (field.period) { 191 if (field.period) {
193 var partners = new Array(); 192 var partners = new Array();

http://lada.wald.intevation.org