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) {
|
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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue