From 0d0bbc8925f0b7ecc35f1c4cb03f5063c6747529 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 27 Sep 2026 14:51:36 -0400 Subject: [PATCH] Fix missing action buttons in RTF Scan's Verify Cited Items table The action column's width was given as "32px", which VirtualizedTable now turns into an invalid CSS width, collapsing the column and hiding the buttons needed to resolve unmapped and ambiguous citations. Also restore the accept-match icon on ambiguous-citation candidates. https://forums.zotero.org/discussion/133740/ --- chrome/content/zotero/rtfScan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/rtfScan.js b/chrome/content/zotero/rtfScan.js index 56f64c0d70..fb85fe597d 100644 --- a/chrome/content/zotero/rtfScan.js +++ b/chrome/content/zotero/rtfScan.js @@ -13,7 +13,7 @@ Services.scriptloader.loadSubScript('chrome://zotero/content/elements/styleConfi const columns = [ { dataKey: 'rtf', label: "zotero.rtfScan.citation.label", primary: true, flex: 4 }, { dataKey: 'item', label: "zotero.rtfScan.itemName.label", flex: 5 }, - { dataKey: 'action', label: "", fixedWidth: true, width: "32px" }, + { dataKey: 'action', label: "", fixedWidth: true, width: 32 }, ]; const initialRows = [ @@ -339,7 +339,7 @@ const Zotero_RTFScan = { // eslint-disable-line no-unused-vars, camelcase row = { ...row, parent: ambiguousRow }; this.insertRows(row, this.rowMap.mapped); this.insertRows( - items.map(item => ({ rtf: '', item: item.getField('title'), parent: row })), + items.map(item => ({ rtf: '', item: item.getField('title'), action: true, parent: row })), this.rowMap[row.id] + 1 ); this.citationItemIDs[row.rtf] = items.map(item => item.id);