fx-compat: Item box: Prevent editor from reopening after close
We did need to reset _lastTabIndex as the line removed in fbc25834
did, but
only immediately surrounding the saveTx() call.
This commit is contained in:
parent
57abea5416
commit
cb14564174
1 changed files with 3 additions and 0 deletions
|
@ -1997,7 +1997,10 @@
|
|||
}
|
||||
|
||||
if (this.saveOnEdit) {
|
||||
let savedTabIndex = this._lastTabIndex;
|
||||
this._lastTabIndex = -1;
|
||||
await this.item.saveTx();
|
||||
this._lastTabIndex = savedTabIndex;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue