From 96d3f312b3b4c4da396e303eb8af0cb9178ea3c0 Mon Sep 17 00:00:00 2001 From: abaevbog Date: Wed, 11 Jun 2025 18:50:03 -0700 Subject: [PATCH] fix web link attachment row not selected on create (#5338) Small followup to tweak https://github.com/zotero/zotero/pull/5328/commits/572174438682b1699ab5a44601586fedcebe9871 --- chrome/content/zotero/zoteroPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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