diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 9d050c3baf..e432eb5266 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -4556,7 +4556,7 @@ var ZoteroPane = new function() window.openDialog('chrome://zotero/content/attachLink.xhtml', 'zotero-attach-uri-dialog', 'centerscreen, modal', io); if (!io.out) return; - await Zotero.Attachments.linkFromURL({ + let item = await Zotero.Attachments.linkFromURL({ url: io.out.link, parentItemID: itemID, title: io.out.title