dont run Ox.decodeHTMLEntities on numbers

This commit is contained in:
j 2013-07-17 17:14:52 +00:00
parent 1d7065456c
commit 19f345b865
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ pandora.ui.idDialog = function(data) {
labelWidth: 128, labelWidth: 128,
value: Ox.decodeHTMLEntities(key == 'director' && data[key] value: Ox.decodeHTMLEntities(key == 'director' && data[key]
? data[key].join(', ') ? data[key].join(', ')
: data[key]), : ('' + data[key])),
width: formWidth width: formWidth
}) })
.css({display: 'inline-block', margin: '3px'}) .css({display: 'inline-block', margin: '3px'})

View file

@ -511,7 +511,7 @@ pandora.ui.infoView = function(data) {
Ox.contains(['title', 'director', 'year'], key) Ox.contains(['title', 'director', 'year'], key)
&& ui.icons == 'posters' && ui.icons == 'posters'
) { ) {
src = '/' + data.id + '/poster512.jpg?' + Ox.uid() src = '/' + data.id + '/poster512.jpg?' + Ox.uid();
$icon.attr({src: src}); $icon.attr({src: src});
$reflectionIcon.attr({src: src}); $reflectionIcon.attr({src: src});
} }