www

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

commit f2d8c72ec17f4da4c385a70168d49a6b96edc37f
parent 8ad23d7eea79f19676a199fc48d1966326d6d2a3
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 29 Dec 2008 07:09:21 +0000

Fixes #1255, Link to parent file in note title broken


Diffstat:
Mchrome/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 @@ -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); ]]> </body> </method>