parent
c048460c22
commit
b4d534c02d
1 changed files with 2 additions and 0 deletions
|
@ -1174,6 +1174,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = {
|
||||||
let item = await Zotero.Attachments.importFromURL({
|
let item = await Zotero.Attachments.importFromURL({
|
||||||
libraryID,
|
libraryID,
|
||||||
url: data.url,
|
url: data.url,
|
||||||
|
referrer: data.referrer,
|
||||||
collections: collection ? [collection.id] : undefined,
|
collections: collection ? [collection.id] : undefined,
|
||||||
contentType: "application/pdf",
|
contentType: "application/pdf",
|
||||||
cookieSandbox
|
cookieSandbox
|
||||||
|
@ -1232,6 +1233,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = {
|
||||||
await Zotero.Attachments.importFromURL({
|
await Zotero.Attachments.importFromURL({
|
||||||
libraryID,
|
libraryID,
|
||||||
url: data.url,
|
url: data.url,
|
||||||
|
referrer: data.referrer,
|
||||||
title,
|
title,
|
||||||
parentItemID: itemID,
|
parentItemID: itemID,
|
||||||
contentType: "text/html",
|
contentType: "text/html",
|
||||||
|
|
Loading…
Reference in a new issue