From 82b63e4bd475a5a493ab825016b86bf114a15ed9 Mon Sep 17 00:00:00 2001 From: imacat Date: Sat, 18 Mar 2023 04:02:48 +0800 Subject: [PATCH] Revised the coding style in the JavaScript journal entry editor. --- src/accounting/static/js/journal-entry-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/static/js/journal-entry-editor.js b/src/accounting/static/js/journal-entry-editor.js index e46c6ce..99a6164 100644 --- a/src/accounting/static/js/journal-entry-editor.js +++ b/src/accounting/static/js/journal-entry-editor.js @@ -183,7 +183,7 @@ class JournalEntryEditor { if (this.entry === null) { this.entry = this.#side.addJournalEntry(); } - this.entry.save("isOriginalEntry" in this.#element.dataset,this.#originalEntry.dataset.id, this.#originalEntry.dataset.date, this.#originalEntry.dataset.text, this.#account.dataset.code, this.#account.dataset.text, this.#summary.dataset.value, this.#amount.value); + this.entry.save("isOriginalEntry" in this.#element.dataset, this.#originalEntry.dataset.id, this.#originalEntry.dataset.date, this.#originalEntry.dataset.text, this.#account.dataset.code, this.#account.dataset.text, this.#summary.dataset.value, this.#amount.value); bootstrap.Modal.getInstance(this.#modal).hide(); } return false;