From f2d8c72ec17f4da4c385a70168d49a6b96edc37f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 29 Dec 2008 07:09:21 +0000 Subject: [PATCH] Fixes #1255, Link to parent file in note title broken --- chrome/content/zotero/bindings/noteeditor.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index 44c5f6190b..0affde8a96 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -168,7 +168,7 @@ if (this.parentClickHandler) { parentbox.setAttribute('onclick', - 'document.getBindingParent(this).clickHandler(this)'); + 'document.getBindingParent(this).parentClickHandler()'); } else { parentbox.removeAttribute('onclick'); @@ -316,8 +316,9 @@ var zp = lastWin.ZoteroPane; } + var parentID = this.item.getSource(); zp.clearQuicksearch(); - zp.selectItem(this.item.id); + zp.selectItem(parentID); ]]>