dont run Ox.decodeHTMLEntities on numbers
This commit is contained in:
parent
1d7065456c
commit
19f345b865
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ pandora.ui.idDialog = function(data) {
|
|||
labelWidth: 128,
|
||||
value: Ox.decodeHTMLEntities(key == 'director' && data[key]
|
||||
? data[key].join(', ')
|
||||
: data[key]),
|
||||
: ('' + data[key])),
|
||||
width: formWidth
|
||||
})
|
||||
.css({display: 'inline-block', margin: '3px'})
|
||||
|
|
|
@ -511,7 +511,7 @@ pandora.ui.infoView = function(data) {
|
|||
Ox.contains(['title', 'director', 'year'], key)
|
||||
&& ui.icons == 'posters'
|
||||
) {
|
||||
src = '/' + data.id + '/poster512.jpg?' + Ox.uid()
|
||||
src = '/' + data.id + '/poster512.jpg?' + Ox.uid();
|
||||
$icon.attr({src: src});
|
||||
$reflectionIcon.attr({src: src});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue