fix #1713 (seriesYear should link to year=..., not seriesYear=...)

This commit is contained in:
rolux 2013-07-27 21:29:32 +02:00
parent 0048908785
commit 567c473ed0

View file

@ -372,7 +372,10 @@ pandora.ui.infoView = function(data) {
Ox.Editable({ Ox.Editable({
clickLink: pandora.clickLink, clickLink: pandora.clickLink,
format: function(value) { format: function(value) {
return formatValue(value.split(', '), key) return formatValue(
value.split(', '),
key == 'episodeDirector' ? 'name' : 'year'
);
}, },
placeholder: formatLight('unknown'), placeholder: formatLight('unknown'),
tooltip: pandora.getEditTooltip(), tooltip: pandora.getEditTooltip(),