From 3c4e5f266cb58c60fa9e566ad1f93e419434ef02 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 7 Jul 2013 17:37:20 +0000 Subject: [PATCH] decode titles in id dialog, fixes #1448 --- static/js/pandora/idDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/idDialog.js b/static/js/pandora/idDialog.js index cc7f5615..d418629e 100644 --- a/static/js/pandora/idDialog.js +++ b/static/js/pandora/idDialog.js @@ -95,9 +95,9 @@ pandora.ui.idDialog = function(data) { Ox.Input({ label: Ox.toTitleCase(key), labelWidth: 128, - value: key == 'director' && data[key] + value: Ox.decodeHTMLEntities(key == 'director' && data[key] ? data[key].join(', ') - : data[key], + : data[key]), width: formWidth }) .css({display: 'inline-block', margin: '3px'})