Commit d7e14b21431d1493b9b8ea0124f25657f2419385
1 parent
37b771aa
Exists in
master
and in
52 other branches
Last modifications
Showing
1 changed file
with
0 additions
and
11 deletions
Show diff stats
js/app/views/TimeSelectorUI.js
... | ... | @@ -179,12 +179,6 @@ Ext.define('amdaUI.TimeSelectorUI', { |
179 | 179 | notifyDrop : function(ddSource, e, data) |
180 | 180 | { |
181 | 181 | if (!this.valid) return false; |
182 | - | |
183 | - var explorerModule = myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.explorer.id); | |
184 | - if (!explorerModule) | |
185 | - return false; | |
186 | - var targetModuleId = explorerModule.getPinedModule(); | |
187 | - var targetModule = myDesktopApp.getLoadedModule(targetModuleId); | |
188 | 182 | |
189 | 183 | var surveyStart = ""; |
190 | 184 | var surveyStop = ""; |
... | ... | @@ -199,20 +193,15 @@ Ext.define('amdaUI.TimeSelectorUI', { |
199 | 193 | |
200 | 194 | me.setStartTime(surveyStart); |
201 | 195 | me.setStopTime(surveyStop); |
202 | - //targetModule.getUiContent().setTimeFromData({ start : surveyStart, stop : surveyStop}); | |
203 | 196 | }, this); |
204 | 197 | return true; |
205 | 198 | } |
206 | 199 | else{ |
207 | 200 | surveyStart = self.timeFormat(data.records[0].get('globalStart')); |
208 | 201 | surveyStop = self.timeFormat(data.records[0].get('globalStop')); |
209 | - | |
210 | - //targetModule.getUiContent().setTimeFromData({ start : surveyStart, | |
211 | - // stop :surveyStart}); | |
212 | 202 | |
213 | 203 | me.setStartTime(surveyStart); |
214 | 204 | me.setStopTime(surveyStop); |
215 | - //me.updateDuration(); | |
216 | 205 | return true; |
217 | 206 | |
218 | 207 | } | ... | ... |