www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 3a2d9a50f80d0235ea051e0cc44ca789a15bfcc9
parent f4544bd38651ec271f67e2505b29ff65728d270b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 27 Dec 2009 11:42:49 +0000

Display implicit title for related items when they're letters or interviews


Diffstat:
Mchrome/content/zotero/bindings/relatedbox.xml | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/bindings/relatedbox.xml b/chrome/content/zotero/bindings/relatedbox.xml @@ -78,7 +78,7 @@ if (related) { related = Zotero.Items.get(related); for(var i = 0; i < related.length; i++) { - r = r + related[i].getField('title') + ", "; + r = r + related[i].getDisplayTitle() + ", "; } r = r.substr(0,r.length-2); } @@ -129,7 +129,7 @@ icon.setAttribute('src','chrome://zotero/skin/treeitem-' + type + '.png'); var label = document.createElement("label"); - label.setAttribute('value', related[i].getField('title', false, true)); + label.setAttribute('value', related[i].getDisplayTitle()); label.setAttribute('crop','end'); label.setAttribute('flex','1');