From caadee8ad98f2dd5cc1be12705354fac0b34f3be Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 3 Aug 2013 17:17:20 +0000 Subject: [PATCH] pass item data (not just title) to getDocumentTitle --- static/js/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/item.js b/static/js/item.js index d1a12d3b..adf81984 100644 --- a/static/js/item.js +++ b/static/js/item.js @@ -29,7 +29,7 @@ pandora.ui.item = function() { if (result.status.code == 200) { // we want to cache the title in any way, so that after closing // a dialog and getting to this item, the title is correct - var documentTitle = pandora.getDocumentTitle(Ox.decodeHTMLEntities(result.data.title)); + var documentTitle = pandora.getDocumentTitle(result.data); document.title = pandora.getPageTitle(document.location.pathname) || documentTitle; }