From baa3b63712f4024b11c69a1d23f67795eb32b28d Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Mon, 21 Sep 2015 18:23:59 +0100 Subject: [PATCH] reload if title keys change --- static/js/infoView.mdr.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/js/infoView.mdr.js b/static/js/infoView.mdr.js index 46f8427..c75bee0 100644 --- a/static/js/infoView.mdr.js +++ b/static/js/infoView.mdr.js @@ -525,6 +525,14 @@ pandora.ui.infoView = function(data) { } pandora.updateItemContext(); pandora.$ui.browser.value(result.data.id, key, result.data[key]); + if ( + Ox.contains([].conact(pandora.site.itemTitleKeys, nameKeys), key) + && ui.icons == 'posters' + ) { + src = pandora.getMediaURL('/' + data.id + '/poster512.jpg?' + Ox.uid()); + $icon.attr({src: src}); + $reflectionIcon.attr({src: src}); + } pandora.$ui.itemTitle .options({ title: '' + result.data.title