Move item box comment from 87455d28c3
The code seems to have already been applied on the fx102 branch
This commit is contained in:
parent
678a6101b3
commit
57b91a0add
1 changed files with 1 additions and 1 deletions
|
@ -1900,7 +1900,6 @@
|
||||||
|
|
||||||
newVal = val;
|
newVal = val;
|
||||||
|
|
||||||
// Reset creator mode settings here so that flex attribute gets reset
|
|
||||||
if (Zotero.ItemTypes.getName(this.item.itemTypeID) === "bookSection") {
|
if (Zotero.ItemTypes.getName(this.item.itemTypeID) === "bookSection") {
|
||||||
var creatorTypeLabels = this.shadowRoot.querySelectorAll(".creator-type-label");
|
var creatorTypeLabels = this.shadowRoot.querySelectorAll(".creator-type-label");
|
||||||
this._id("zotero-author-guidance").show({
|
this._id("zotero-author-guidance").show({
|
||||||
|
@ -1984,6 +1983,7 @@
|
||||||
label.setAttribute('control', elem.getAttribute('id'));
|
label.setAttribute('control', elem.getAttribute('id'));
|
||||||
|
|
||||||
if (field == 'creator') {
|
if (field == 'creator') {
|
||||||
|
// Set correct flex settings and fieldMode attribute
|
||||||
this.switchCreatorMode(row, (otherFields.fieldMode ? 1 : 0), true);
|
this.switchCreatorMode(row, (otherFields.fieldMode ? 1 : 0), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue