Interactive interface for browsing global, full-resolution satellite imagery
Layers that do not exist are no longer added to My Layers
Mike McGann17e6d9cf2dfb
diff --git a/js/bank.js b/js/bank.jsindex f0f7b979d..5f73eb785 100644--- a/js/bank.js+++ b/js/bank.js@@ -438,7 +438,11 @@ SOTE.widget.Bank.prototype.unserialize = function(string){var items = categories[i].split(/[\.,]/);unserialized[items[0]] = new Array;for(var j=1; j<items.length; j++){- unserialized[items[0]].push({"value":items[j]});+ if ( this.meta && !this.meta[items[j]] ) {+ this.log.warn("No such product: " + items[j]);+ } else {+ unserialized[items[0]].push({"value":items[j]});+ }}}