Fix display of parent item title in popup note window

This commit is contained in:
Dan Stillman 2016-07-07 05:19:26 -04:00
parent d44eeb752b
commit 54ba532ebd

View file

@ -402,7 +402,7 @@
parentText.removeChild(parentText.firstChild);
}
if (this._parent && this.getAttribute('notitle') != '1') {
if (this._parentItem && this.getAttribute('notitle') != '1') {
this.id('parent-row').hidden = undefined;
this.id('parentLabel').value = Zotero.getString('pane.item.parentItem');
parentText.appendChild(document.createTextNode(this._parentItem.getDisplayTitle(true)));