From 57b91a0add4b136ded4df5d57f3149636a2487c5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 11 Aug 2022 03:56:21 -0400 Subject: [PATCH] Move item box comment from 87455d28c3 The code seems to have already been applied on the fx102 branch --- chrome/content/zotero/elements/itemBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index 5e8f6dacc3..6526cb3224 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -1900,7 +1900,6 @@ newVal = val; - // Reset creator mode settings here so that flex attribute gets reset if (Zotero.ItemTypes.getName(this.item.itemTypeID) === "bookSection") { var creatorTypeLabels = this.shadowRoot.querySelectorAll(".creator-type-label"); this._id("zotero-author-guidance").show({ @@ -1984,6 +1983,7 @@ label.setAttribute('control', elem.getAttribute('id')); if (field == 'creator') { + // Set correct flex settings and fieldMode attribute this.switchCreatorMode(row, (otherFields.fieldMode ? 1 : 0), true); }