fix a bug in Ox.ListMap

This commit is contained in:
rolux 2011-11-23 16:29:06 +01:00
parent 0ee6acef28
commit b770bbd83e

View file

@ -58,8 +58,7 @@ Ox.ListMap = function(options, self) {
format: function(value) {
return $('<img>')
.attr({
// fixme: not the right place to do this
src: Ox.PATH + 'Ox.Geo/png/icons/16/' + (value || 'NTHH') + '.png'
src: Ox.getFlagByGeoname(value, 16)
})
.css({
width: '14px',