fix a bug in Ox.ListMap
This commit is contained in:
parent
e17907d7a3
commit
9f8136f9b7
1 changed files with 2 additions and 2 deletions
|
@ -55,10 +55,10 @@ Ox.ListMap = function(options, self) {
|
||||||
width: 64
|
width: 64
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
format: function(value) {
|
format: function(value, data) {
|
||||||
return $('<img>')
|
return $('<img>')
|
||||||
.attr({
|
.attr({
|
||||||
src: Ox.getFlagByGeoname(Ox.getCountryByCode(value).name, 16)
|
src: Ox.getFlagByGeoname(data.name, 16)
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
width: '14px',
|
width: '14px',
|
||||||
|
|
Loading…
Reference in a new issue