fix web link attachment row not selected on create (#5338)

Small followup to tweak 5721744386
This commit is contained in:
abaevbog 2025-06-11 18:50:03 -07:00 • committed by GitHub
parent 195629186b
commit 96d3f312b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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