mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -05:00
fixed syntax for passing in error type
This commit is contained in:
parent
3741552713
commit
85b8fdf934
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ AutoForm.hooks({
|
||||||
|
|
||||||
onSuccess: function(operation, result) {
|
onSuccess: function(operation, result) {
|
||||||
this.template.$('button[type=submit]').removeClass('loading');
|
this.template.$('button[type=submit]').removeClass('loading');
|
||||||
Messages.flash(i18n.t("user_profile_saved", 'success'));
|
Messages.flash(i18n.t("user_profile_saved"), 'success');
|
||||||
Messages.clearSeen();
|
Messages.clearSeen();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -28,4 +28,4 @@ AutoForm.hooks({
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue