From 1c36406b1e05fff1fb01fceff83f017d30bbe6b0 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Fri, 5 Aug 2022 11:43:11 -0400 Subject: [PATCH] fx-compat: Item box: Fix removing creator while editing it --- chrome/content/zotero/elements/itemBox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 3ced794b44..b4e02d03e2 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -1471,8 +1471,9 @@ this._creatorCount--; return; } - this.item.removeCreator(index); + this._lastTabIndex = -1; await this.blurOpenField(); + this.item.removeCreator(index); await this.item.saveTx(); }