diff --git a/source/Ox.UI/js/Map/Ox.ListMap.js b/source/Ox.UI/js/Map/Ox.ListMap.js index a7efa8fc..6ec9ae8c 100644 --- a/source/Ox.UI/js/Map/Ox.ListMap.js +++ b/source/Ox.UI/js/Map/Ox.ListMap.js @@ -58,7 +58,7 @@ Ox.ListMap = function(options, self) { }, { format: function(value, data) { - return $('') + return data.geoname ? $('') .attr({ src: Ox.getFlagByGeoname(data.geoname, 16) }) @@ -68,7 +68,7 @@ Ox.ListMap = function(options, self) { borderRadius: '4px', marginLeft: '-3px', marginTop: 0 - }); + }) : ''; }, id: 'countryCode', resizable: false, // fixme: implement