diff --git a/source/Ox.UI/js/Map/Ox.ListMap.js b/source/Ox.UI/js/Map/Ox.ListMap.js index 17ce55bb..7a730f37 100644 --- a/source/Ox.UI/js/Map/Ox.ListMap.js +++ b/source/Ox.UI/js/Map/Ox.ListMap.js @@ -55,10 +55,10 @@ Ox.ListMap = function(options, self) { width: 64 }, { - format: function(value) { + format: function(value, data) { return $('') .attr({ - src: Ox.getFlagByGeoname(Ox.getCountryByCode(value).name, 16) + src: Ox.getFlagByGeoname(data.name, 16) }) .css({ width: '14px',