forked from 0x2620/pandora
api rename: getPlaceNames/getEventNames to getPlaces and getEvents, fixes #2609
This commit is contained in:
parent
ed8f8517c5
commit
6c6693e922
3 changed files with 7 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue