From 20aeb914eb1df8c19dae7476b642f171bf72ff07 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 10 Sep 2012 14:25:04 +0200 Subject: [PATCH] minor change --- source/Ox.UI/js/Map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Map/Map.js b/source/Ox.UI/js/Map/Map.js index 86ce4e84..cd9f5bfa 100644 --- a/source/Ox.UI/js/Map/Map.js +++ b/source/Ox.UI/js/Map/Map.js @@ -578,7 +578,7 @@ Ox.Map = function(options, self) { function addPlaceToPlaces(data) { var place = Ox.extend(getSelectedPlace() || {}, data), - country = Ox.getCountryByGeoname(place.geoname) || {}; + country = Ox.getCountryByGeoname(place.geoname); place.countryCode = country ? country.code : ''; self.options.selected = place.id; setPlaceControls(place);