Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Transition between DD tab works when seleciton list and download list are active

Mike McGann777e2c8a3a67
diff --git a/etc/ant/js.build.xml b/etc/ant/js.build.xml
index fffb2b107..3e8b2323f 100644
--- a/etc/ant/js.build.xml
+++ b/etc/ant/js.build.xml
@@ -97,6 +97,8 @@
<file name="js/Worldview/Map/TWMSLayer.js"/>
<file name="js/Worldview/Map/HoverControl.js"/>
+ <file name="js/Worldview/DataDownload.js"/>
+
<file name="js/Worldview/DataDownload/ECHO.js"/>
<file name="js/Worldview/DataDownload/ECHO/Client.js"/>
<file name="js/Worldview/DataDownload/ECHO/Geometry.js"/>
diff --git a/src/js/Worldview/Widget/DataDownload.js b/src/js/Worldview/Widget/DataDownload.js
index e847e6647..38655b6bd 100644
--- a/src/js/Worldview/Widget/DataDownload.js
+++ b/src/js/Worldview/Widget/DataDownload.js
@@ -36,6 +36,7 @@ Worldview.Widget.DataDownload = function(config, spec) {
var list = null;
var model = spec.model;
var mapController = null;
+ var selectionListPanel = null;
var downloadListPanel = null;
var self = {};
@@ -155,6 +156,12 @@ Worldview.Widget.DataDownload = function(config, spec) {
var onQuery = function() {
log.debug("query");
Worldview.Indicator.searching();
+ if ( selectionListPanel ) {
+ selectionListPanel.hide();
+ }
+ if ( downloadListPanel ) {
+ downloadListPanel.hide();
+ }
};
var onQueryResults = function(results) {