Interactive interface for browsing global, full-resolution satellite imagery
Changed "Download" button to "Download Selected Data..." when there is data to download. If there is no data to download, changed text to "No Data Selected".
Ryan Bollerea9edb878145
diff --git a/src/js/Worldview/Widget/DataDownload.js b/src/js/Worldview/Widget/DataDownload.jsindex 1c6ea73a8..8c7bcdf75 100644--- a/src/js/Worldview/Widget/DataDownload.js+++ b/src/js/Worldview/Widget/DataDownload.js@@ -251,11 +251,11 @@ Worldview.Widget.DataDownload = function(config, spec) {var formattedSize = Math.round(totalSize * 100) / 100;list.setActionButtonText("Download (" + formattedSize + " MB)");} else {- list.setActionButtonText("Download");+ list.setActionButtonText("Download Selected Data...");}} else {list.setButtonEnabled(false);- list.setActionButtonText("Download");+ list.setActionButtonText("No Data Selected");}var counts = model.getSelectionCounts();