Removed the prefix from the journal entry sub-form.

This commit is contained in:
imacat committed 2023-03-14 17:02:39 +08:00
1 parent ff1bb7142b
commit 232f73172f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -713,7 +713,7 @@ class JournalEntrySubForm {
this.element = element;
this.entryType = element.dataset.entryType;
this.entryIndex = parseInt(element.dataset.entryIndex);
this.#prefix = element.dataset.prefix;
this.#prefix = "accounting-currency-" + element.dataset.currencyIndex + "-" + this.entryType + "-" + this.entryIndex;
this.#control = document.getElementById(this.#prefix + "-control");
this.#error = document.getElementById(this.#prefix + "-error");
this.no = document.getElementById(this.#prefix + "-no");