Save Abstract edits when switching items

Since itemPane.js sets mode before item, the editable-text's value would
get reset before save() ran.

Not touching the header since we're replacing that with an item-box
field (which does not have this bug) soon anyway.

Fixes #3679
This commit is contained in:
Abe Jellinek 2024-02-09 12:21:56 -05:00
parent 0aea17581e
commit 6a39980a97

View file

@ -62,6 +62,10 @@
}
set mode(mode) {
if (this._mode === mode) {
return;
}
this.blurOpenField();
this._mode = mode;
this.render();
}