forked from 0x2620/pandora
don't pass google api key, use Ox.Map.GoogleApiKey
This commit is contained in:
parent
7521467975
commit
4d7c675d29
3 changed files with 1 additions and 2 deletions
|
@ -122,7 +122,6 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
||||||
|
|
||||||
that.replaceElement(0,
|
that.replaceElement(0,
|
||||||
$element = Ox.Map({
|
$element = Ox.Map({
|
||||||
apiKey: pandora.site.site.googleapikey,
|
|
||||||
// clickable: pandora.site.capabilities.canClickMap[pandora.user.level],
|
// clickable: pandora.site.capabilities.canClickMap[pandora.user.level],
|
||||||
find: ui.mapFind,
|
find: ui.mapFind,
|
||||||
// 20 px menu + 24 px toolbar + 1px resizbar + 16px statusbar (if !item)
|
// 20 px menu + 24 px toolbar + 1px resizbar + 16px statusbar (if !item)
|
||||||
|
|
|
@ -251,6 +251,7 @@ appPanel
|
||||||
}, function() {
|
}, function() {
|
||||||
pandora.site.site.videoprefix = url;
|
pandora.site.site.videoprefix = url;
|
||||||
});
|
});
|
||||||
|
Ox.Map.GoogleApiKey = pandora.site.site.googleapikey;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ pandora.ui.placesDialog = function(options) {
|
||||||
callback(result);
|
callback(result);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
apiKey: pandora.site.site.googleapikey,
|
|
||||||
editPlace: function(place, callback) {
|
editPlace: function(place, callback) {
|
||||||
pandora.api.editPlace(place, function(result) {
|
pandora.api.editPlace(place, function(result) {
|
||||||
Ox.Request.clearCache(); // fixme: remove
|
Ox.Request.clearCache(); // fixme: remove
|
||||||
|
|
Loading…
Reference in a new issue