fix metadata dialog

This commit is contained in:
j 2013-07-02 13:18:48 +02:00
parent 413931e22f
commit bbb4eb5151

View file

@ -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
);
}