From 4f53b89d9514604a6e29655d85f77ce39515ac2d Mon Sep 17 00:00:00 2001 From: DrumsnChocolate Date: Tue, 5 Nov 2024 23:32:05 +0100 Subject: [PATCH] fix broken submit based on #896 --- app/controllers/debit/collections/collection/edit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/debit/collections/collection/edit.js b/app/controllers/debit/collections/collection/edit.js index 5205576f7..0063c425c 100644 --- a/app/controllers/debit/collections/collection/edit.js +++ b/app/controllers/debit/collections/collection/edit.js @@ -26,7 +26,8 @@ export default class CollectionEditController extends EditController { } @action - async submit() { + async submit(event) { + event.preventDefault(); this.errorMessage = null; try { await this.model.saveWithTransactions();