Fixes #1255, Link to parent file in note title broken
This commit is contained in:
parent
8ad23d7eea
commit
f2d8c72ec1
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue