www

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

commit c7b4c41aee68c6a63df0bd9746e44087c33d7724
parent 0d0a6f38b28618ab9311d886ba93df84af52ba90
Author: Mikko Rönkkö <mikko.ronkko@aalto.fi>
Date:   Sat, 11 Feb 2012 13:19:36 +0200

Added a library link to QuickFormat dialog, fix url

Diffstat:
Mchrome/content/zotero/integration/quickFormat.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js @@ -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",