Interactive interface for browsing global, full-resolution satellite imagery
Selection counts now preserved on projection change
Mike McGanna5b2d34710ab
diff --git a/web/js/data/wv.data.model.js b/web/js/data/wv.data.model.jsindex ce9490fef..c9eb753ae 100644--- a/web/js/data/wv.data.model.js+++ b/web/js/data/wv.data.model.js@@ -431,8 +431,8 @@ wv.data.model = wv.data.model || function(models, config) {var updateProjection = function() {updateProjectionInfo();- updateLayers();self.events.trigger("projectionUpdate");+ updateLayers();query();};// FIXME: This is a hackdiff --git a/web/js/data/wv.data.ui.js b/web/js/data/wv.data.ui.jsindex 458db87fe..16c21eba3 100644--- a/web/js/data/wv.data.ui.js+++ b/web/js/data/wv.data.ui.js@@ -275,6 +275,7 @@ wv.data.ui = wv.data.ui || function(models, ui, config) {selectionListPanel = null;}}+ updateSelection();};var onQueryCancel = function() {diff --git a/web/js/date/wv.date.model.js b/web/js/date/wv.date.model.jsindex 2fcd5db12..ed7da1844 100644--- a/web/js/date/wv.date.model.js+++ b/web/js/date/wv.date.model.js@@ -80,7 +80,7 @@ wv.date.model = wv.date.model || function(config, spec) {self.maxDate = function() {return wv.util.today();};-+self.save = function(state) {state.t = self.selected.toISOString().split("T")[0];};