From 19f345b8654bdb2d494a48930807676f3d90edb4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 17 Jul 2013 17:14:52 +0000 Subject: [PATCH] dont run Ox.decodeHTMLEntities on numbers --- static/js/idDialog.js | 2 +- static/js/infoView.indiancinema.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/idDialog.js b/static/js/idDialog.js index d418629ed..975b7f48f 100644 --- a/static/js/idDialog.js +++ b/static/js/idDialog.js @@ -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'}) diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index d223f0558..12f97593c 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -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}); }