diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 9ab6e3c945..5c2af7ed78 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -508,7 +508,8 @@ // Place, in order of preference, after title, after type, // or at beginning - var field = this._dynamicFields.getElementsByAttribute('fieldname', 'title').item(0); + var titleFieldID = Zotero.ItemFields.getFieldIDFromTypeAndBase(this.item.itemTypeID, 'title'); + var field = this._dynamicFields.getElementsByAttribute('fieldname', Zotero.ItemFields.getName(titleFieldID)).item(0); if (!field) { var field = this._dynamicFields.getElementsByAttribute('fieldname', 'itemType').item(0); } diff --git a/chrome/content/zotero/bindings/relatedbox.xml b/chrome/content/zotero/bindings/relatedbox.xml index b668d62a51..61d9531b25 100644 --- a/chrome/content/zotero/bindings/relatedbox.xml +++ b/chrome/content/zotero/bindings/relatedbox.xml @@ -127,7 +127,7 @@ icon.setAttribute('src','chrome://zotero/skin/treeitem-' + type + '.png'); var label = document.createElement("label"); - label.setAttribute('value', related[i].getField('title')); + label.setAttribute('value', related[i].getField('title', false, true)); label.setAttribute('crop','end'); label.setAttribute('flex','1');