Mercurial > lada > lada-client
comparison app/controller/form/Messprogramm.js @ 808:c135201940ee
removed console msg.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 22 May 2015 15:59:40 +0200 |
parents | ff4330d4aba1 |
children | 097d4edc2f00 |
comparison
equal
deleted
inserted
replaced
807:18697326c862 | 808:c135201940ee |
---|---|
80 /** | 80 /** |
81 * When the Probenintervall was changed, update the Sliders | 81 * When the Probenintervall was changed, update the Sliders |
82 * and the the numberfield. | 82 * and the the numberfield. |
83 */ | 83 */ |
84 updateIntervalls: function(field, records) { | 84 updateIntervalls: function(field, records) { |
85 console.log('update Intervalls'); | |
86 var form = field.up('messprogrammform'); | 85 var form = field.up('messprogrammform'); |
87 var record = form.getRecord(); | 86 var record = form.getRecord(); |
88 form.populateIntervall(record, field.getValue()); | 87 form.populateIntervall(record, field.getValue()); |
89 }, | 88 }, |
90 /** | 89 /** |
128 /** | 127 /** |
129 * When the Slider was used, | 128 * When the Slider was used, |
130 * update the Value of the Teilintervallfields | 129 * update the Value of the Teilintervallfields |
131 */ | 130 */ |
132 synchronizeFields: function(slider, newValue, thumb) { | 131 synchronizeFields: function(slider, newValue, thumb) { |
133 console.log('Synchronize Fields'); | |
134 var formPanel = slider.up('form'); | 132 var formPanel = slider.up('form'); |
135 if (thumb.index == 0) { | 133 if (thumb.index == 0) { |
136 formPanel.getForm() | 134 formPanel.getForm() |
137 .findField('teilintervallVon') | 135 .findField('teilintervallVon') |
138 .setValue(newValue); | 136 .setValue(newValue); |
148 /** | 146 /** |
149 * When the IntervallFields were used, | 147 * When the IntervallFields were used, |
150 * update the Slider | 148 * update the Slider |
151 */ | 149 */ |
152 synchronizeSlider: function(field, newValue, oldValue) { | 150 synchronizeSlider: function(field, newValue, oldValue) { |
153 console.log('Synchronize Slider'); | |
154 var formPanel = field.up('form'); | 151 var formPanel = field.up('form'); |
155 if (field.name == 'teilintervallVon') { | 152 if (field.name == 'teilintervallVon') { |
156 formPanel.down('probenintervallslider') | 153 formPanel.down('probenintervallslider') |
157 .setValue(0, newValue, false); | 154 .setValue(0, newValue, false); |
158 } | 155 } |