Browse Source

Change click to submit

Julian Gassner 10 months ago
parent
commit
19ed4c1212
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frontend/js/app/user/form.js

+ 1 - 1
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;