Added a library link to QuickFormat dialog, fix url
This commit is contained in:
parent
0d0a6f38b2
commit
c7b4c41aee
1 changed files with 1 additions and 2 deletions
|
@ -914,11 +914,10 @@ var Zotero_QuickFormat = new function () {
|
|||
|
||||
var libraryName = item.libraryID ? Zotero.Libraries.getName(item.libraryID)
|
||||
: Zotero.getString('pane.collections.library');
|
||||
|
||||
var libraryLink = document.getElementById("citation-properties-library-link");
|
||||
//TODO: Localize "Open in "
|
||||
libraryLink.textContent ="Open in "+libraryName;
|
||||
libraryLink.onclick=function() {window.open('zotero://select/'+item.key)};
|
||||
libraryLink.onclick=function() {window.open('zotero://select/item/'+(item.libraryID ? item.libraryID : 0)+'_'+item.key)};
|
||||
|
||||
target.setAttribute("selected", "true");
|
||||
panel.openPopup(target, "after_start",
|
||||
|
|
Loading…
Reference in a new issue