From 74071e8997f0be8bb68d4c154e8377485a312e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 13 Mar 2023 20:04:55 +0800 Subject: [PATCH] Removed the unused static validateAccount method from the JavaScript journal entry editor. --- src/accounting/static/js/journal-entry-editor.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/accounting/static/js/journal-entry-editor.js b/src/accounting/static/js/journal-entry-editor.js index f097850..061b260 100644 --- a/src/accounting/static/js/journal-entry-editor.js +++ b/src/accounting/static/js/journal-entry-editor.js @@ -376,12 +376,4 @@ class JournalEntryEditor { static edit(entry, accountCode, accountText, summary, amount) { this.#editor.#onEdit(entry, accountCode, accountText, summary, amount); } - - /** - * Validates the account when the account is updated from the account selector. - * - */ - static validateAccount() { - this.#editor.#validateAccount(); - } }