Change click to submit

This commit is contained in:
Julian Gassner 2024-12-04 03:08:49 +01:00
parent 03018d252b
commit 19ed4c1212

View File

@ -19,7 +19,7 @@ module.exports = Mn.View.extend({
events: { events: {
'click @ui.save': function (e) { 'submit @ui.form': function (e) {
e.preventDefault(); e.preventDefault();
this.ui.error.hide(); this.ui.error.hide();
let view = this; let view = this;