use same code path for document.title and item title in toolbar
This commit is contained in:
parent
d73dc8eb52
commit
acd70661d9
2 changed files with 14 additions and 18 deletions
|
|
@ -34,13 +34,7 @@ pandora.ui.item = function() {
|
|||
}
|
||||
|
||||
pandora.$ui.itemTitle
|
||||
.options({
|
||||
title: '<b>' + result.data.title
|
||||
+ (Ox.len(result.data.director)
|
||||
? ' (' + result.data.director.join(', ') + ')'
|
||||
: '')
|
||||
+ (result.data.year ? ' ' + result.data.year : '') + '</b>'
|
||||
})
|
||||
.options({title: '<b>' + pandora.getItemTitle(result.data) + '</b>'})
|
||||
.show();
|
||||
|
||||
// fixme: layers have value, subtitles has text?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue