api rename: getPlaceNames/getEventNames to getPlaces and getEvents, fixes #2609

This commit is contained in:
j 2014-12-22 10:35:39 +00:00
commit 6c6693e922
3 changed files with 7 additions and 7 deletions

View file

@ -53,7 +53,7 @@ pandora.ui.placesDialog = function(options) {
height: height - 48,
mode: pandora.site.map == 'auto' ? 'add' : 'define',
names: pandora.hasPlacesLayer ? function(callback) {
pandora.api.getPlaceNames(function(result) {
pandora.api.getPlaces(function(result) {
callback(result.data.items);
});
} : null,