diff --git a/static/js/navigationView.js b/static/js/navigationView.js index 4a3c015b3..863283063 100644 --- a/static/js/navigationView.js +++ b/static/js/navigationView.js @@ -122,7 +122,6 @@ pandora.ui.navigationView = function(type, videoRatio) { that.replaceElement(0, $element = Ox.Map({ - apiKey: pandora.site.site.googleapikey, // clickable: pandora.site.capabilities.canClickMap[pandora.user.level], find: ui.mapFind, // 20 px menu + 24 px toolbar + 1px resizbar + 16px statusbar (if !item) diff --git a/static/js/pandora.js b/static/js/pandora.js index ae76389be..abcffe49c 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -251,6 +251,7 @@ appPanel }, function() { pandora.site.site.videoprefix = url; }); + Ox.Map.GoogleApiKey = pandora.site.site.googleapikey; } }); } diff --git a/static/js/placesDialog.js b/static/js/placesDialog.js index 676636a1e..b270803f1 100644 --- a/static/js/placesDialog.js +++ b/static/js/placesDialog.js @@ -13,7 +13,6 @@ pandora.ui.placesDialog = function(options) { callback(result); }); }, - apiKey: pandora.site.site.googleapikey, editPlace: function(place, callback) { pandora.api.editPlace(place, function(result) { Ox.Request.clearCache(); // fixme: remove