typo
This commit is contained in:
parent
93d511f728
commit
91bd0e3684
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ Ox.Map = function(options, self) {
|
||||||
|
|
||||||
function addPlaceToPlaces(data) {
|
function addPlaceToPlaces(data) {
|
||||||
var place = Ox.extend(getSelectedPlace() || {}, data),
|
var place = Ox.extend(getSelectedPlace() || {}, data),
|
||||||
country = Ox.getCountryByGeoname(place.geoname) : {};
|
country = Ox.getCountryByGeoname(place.geoname) || {};
|
||||||
place.countryCode = country ? country.code : '';
|
place.countryCode = country ? country.code : '';
|
||||||
self.options.selected = place.id;
|
self.options.selected = place.id;
|
||||||
setPlaceControls(place);
|
setPlaceControls(place);
|
||||||
|
|
Loading…
Reference in a new issue