diff --git a/js/app/views/TimeSelectorUI.js b/js/app/views/TimeSelectorUI.js index dd71486..789a94e 100644 --- a/js/app/views/TimeSelectorUI.js +++ b/js/app/views/TimeSelectorUI.js @@ -179,12 +179,6 @@ Ext.define('amdaUI.TimeSelectorUI', { notifyDrop : function(ddSource, e, data) { if (!this.valid) return false; - - var explorerModule = myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.explorer.id); - if (!explorerModule) - return false; - var targetModuleId = explorerModule.getPinedModule(); - var targetModule = myDesktopApp.getLoadedModule(targetModuleId); var surveyStart = ""; var surveyStop = ""; @@ -199,20 +193,15 @@ Ext.define('amdaUI.TimeSelectorUI', { me.setStartTime(surveyStart); me.setStopTime(surveyStop); - //targetModule.getUiContent().setTimeFromData({ start : surveyStart, stop : surveyStop}); }, this); return true; } else{ surveyStart = self.timeFormat(data.records[0].get('globalStart')); surveyStop = self.timeFormat(data.records[0].get('globalStop')); - - //targetModule.getUiContent().setTimeFromData({ start : surveyStart, - // stop :surveyStart}); me.setStartTime(surveyStart); me.setStopTime(surveyStop); - //me.updateDuration(); return true; } -- libgit2 0.21.2