www

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

commit cd885c8a24052d7c436c5175732bf1d34ec152eb
parent 0108570daad1ee7f89c95f556c08920cebd45413
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 25 Aug 2011 11:58:13 +0000

Save to the selected collection and library


Diffstat:
Mchrome/content/zotero/lookup.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/lookup.js b/chrome/content/zotero/lookup.js @@ -71,8 +71,8 @@ const Zotero_Lookup = new function () { var libraryID = null; var collection = false; try { - libraryID = window.opener.ZoteroPane.getSelectedLibraryID(); - collection = window.opener.ZoteroPane.getSelectedCollection(); + libraryID = ZoteroPane_Local.getSelectedLibraryID(); + collection = ZoteroPane_Local.getSelectedCollection(); } catch(e) {} translate.setHandler("itemDone", function(obj, item) { if(collection) collection.addItem(item.id);