Revised the "#onDescriptionChange" method to also reset the selected account in the JavaScript DescriptionEditor editor.
This commit is contained in:
parent
ab29166f1e
commit
f2a2fcdd32
@ -200,6 +200,7 @@ class DescriptionEditor {
|
|||||||
*/
|
*/
|
||||||
#onDescriptionChange() {
|
#onDescriptionChange() {
|
||||||
this.#resetTabPlanes();
|
this.#resetTabPlanes();
|
||||||
|
this.#selectedAccount = null;
|
||||||
this.description = this.description.trim();
|
this.description = this.description.trim();
|
||||||
for (const tabPlane of [this.tabPlanes.recurring, this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) {
|
for (const tabPlane of [this.tabPlanes.recurring, this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) {
|
||||||
if (tabPlane.populate()) {
|
if (tabPlane.populate()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user