This commit is contained in:
j 2013-05-31 22:17:39 +00:00
parent 824cf1ff07
commit 3eb83567b5
2 changed files with 2 additions and 2 deletions

View file

@ -379,7 +379,7 @@ pandora.URL = (function() {
}
if (e.state && !Ox.isEmpty(e.state)) {
Ox.Log('URL', 'E.STATE', e.state)
document.title = e.state.title;
document.title = Ox.decodeHTMLEntities(e.state.title);
setState(e.state);
} else if (window.location.pathname == '/') {
pandora.$ui.home = pandora.ui.home().fadeInScreen();

View file

@ -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.decodeHtml(result.data.title));
var documentTitle = pandora.getDocumentTitle(Ox.decodeHTMLEntities(result.data.title));
document.title = pandora.getPageTitle(document.location.pathname) || documentTitle;
}