From bbb4eb51510d12bf1a50f392e3f47d118f57aefb Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 2 Jul 2013 13:18:48 +0200 Subject: [PATCH] fix metadata dialog --- static/js/pandora/metadataDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/metadataDialog.js b/static/js/pandora/metadataDialog.js index 342a63bfb..9e7885271 100644 --- a/static/js/pandora/metadataDialog.js +++ b/static/js/pandora/metadataDialog.js @@ -265,8 +265,8 @@ pandora.ui.metadataDialog = function(data) { } function getTitle(key) { - return key == Ox._( - 'alternativeTitles' ? 'Alternative Titles' + return Ox._( + key == 'alternativeTitles' ? 'Alternative Titles' : Ox.getObjectById(pandora.site.itemKeys, key).title ); }