From fe23c04b368e6e7fdc9057bc4c27d0c956dc3abd Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 26 Mar 2007 14:56:02 +0000 Subject: [PATCH] Fix for web links not being added to current collection --- chrome/content/zotero/overlay.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index a8ad906e7..8f8abb62c 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -1567,18 +1567,14 @@ var ZoteroPane = new function() progressWin.show(); progressWin.startCloseTimer(); - Zotero.debug('here'); if (this.itemsView && this.itemsView._itemGroup.isCollection()) { - Zotero.debug('here2'); var parentCollectionID = this.itemsView._itemGroup.ref.getID(); - Zotero.debug(parentCollectionID); } } var f = function() { - Zotero.debug(parentCollectionID); if (link) { - Zotero.Attachments.linkFromDocument(window.content.document, itemID, false, parentCollectionID); + Zotero.Attachments.linkFromDocument(window.content.document, itemID, parentCollectionID); } else { Zotero.Attachments.importFromDocument(window.content.document, itemID, false, parentCollectionID);