From dbc8b9bfed1004af3663d61fc5a8f012e3a47752 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 25 Jul 2024 10:13:21 -0400 Subject: [PATCH] Select Items dialog: Double-click to accept Closes #4428 --- chrome/content/zotero/selectItemsDialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/selectItemsDialog.js b/chrome/content/zotero/selectItemsDialog.js index 31c96ea21c..7fd86da4ed 100644 --- a/chrome/content/zotero/selectItemsDialog.js +++ b/chrome/content/zotero/selectItemsDialog.js @@ -60,6 +60,9 @@ var doLoad = async function () { onItemSelected(); } }, + onActivate: () => { + document.querySelector('dialog').acceptDialog(); + }, id: io.itemTreeID || "select-items-dialog", dragAndDrop: false, persistColumns: true,