From 7dc68209a5a93318f266475e4cde87939b842e73 Mon Sep 17 00:00:00 2001 From: abaevbog Date: Sun, 30 Jun 2024 23:24:01 -0700 Subject: [PATCH] fix to unwanted empty creator row in itemBox (#4275) this._addCreatorRow needs to be properly initialized to false (as opposed to being undefined) because 'false' is the value we check against to decide if an empty row should be added and focused after rendering. Fixes: #4268 --- chrome/content/zotero/elements/itemBox.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index e209024444..562c30f967 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -51,6 +51,7 @@ this._draggedCreator = false; this._selectField = null; this._selectFieldSelection = null; + this._addCreatorRow = false; } get content() {