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

This commit is contained in:
Dan Stillman 2008-12-29 07:09:21 +00:00
parent 8ad23d7eea
commit f2d8c72ec1

View file

@ -168,7 +168,7 @@
if (this.parentClickHandler) { if (this.parentClickHandler) {
parentbox.setAttribute('onclick', parentbox.setAttribute('onclick',
'document.getBindingParent(this).clickHandler(this)'); 'document.getBindingParent(this).parentClickHandler()');
} }
else { else {
parentbox.removeAttribute('onclick'); parentbox.removeAttribute('onclick');
@ -316,8 +316,9 @@
var zp = lastWin.ZoteroPane; var zp = lastWin.ZoteroPane;
} }
var parentID = this.item.getSource();
zp.clearQuicksearch(); zp.clearQuicksearch();
zp.selectItem(this.item.id); zp.selectItem(parentID);
]]> ]]>
</body> </body>
</method> </method>