From 19ed4c1212215b6972626eef796512fa769844e6 Mon Sep 17 00:00:00 2001 From: Julian Gassner Date: Wed, 4 Dec 2024 03:08:49 +0100 Subject: [PATCH] Change click to submit --- frontend/js/app/user/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/app/user/form.js b/frontend/js/app/user/form.js index ef92ec3e9..617a75fc9 100644 --- a/frontend/js/app/user/form.js +++ b/frontend/js/app/user/form.js @@ -19,7 +19,7 @@ module.exports = Mn.View.extend({ events: { - 'click @ui.save': function (e) { + 'submit @ui.form': function (e) { e.preventDefault(); this.ui.error.hide(); let view = this;