fix a bug in Ox.ListMap

This commit is contained in:
rolux 2011-11-23 16:43:01 +01:00
parent e17907d7a3
commit 9f8136f9b7

View file

@ -55,10 +55,10 @@ Ox.ListMap = function(options, self) {
width: 64
},
{
format: function(value) {
format: function(value, data) {
return $('<img>')
.attr({
src: Ox.getFlagByGeoname(Ox.getCountryByCode(value).name, 16)
src: Ox.getFlagByGeoname(data.name, 16)
})
.css({
width: '14px',