diff --git a/chrome/content/zotero/xpcom/connector/server_connector.js b/chrome/content/zotero/xpcom/connector/server_connector.js index 0ff869a8ac..933173a3e0 100644 --- a/chrome/content/zotero/xpcom/connector/server_connector.js +++ b/chrome/content/zotero/xpcom/connector/server_connector.js @@ -1174,6 +1174,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = { let item = await Zotero.Attachments.importFromURL({ libraryID, url: data.url, + referrer: data.referrer, collections: collection ? [collection.id] : undefined, contentType: "application/pdf", cookieSandbox @@ -1232,6 +1233,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = { await Zotero.Attachments.importFromURL({ libraryID, url: data.url, + referrer: data.referrer, title, parentItemID: itemID, contentType: "text/html",