fixed syntax for passing in error type

This commit is contained in:
Jamie Wilson 2015-06-26 16:03:37 -05:00
parent 3741552713
commit 85b8fdf934

View file

@ -17,7 +17,7 @@ AutoForm.hooks({
onSuccess: function(operation, result) {
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();
},
@ -28,4 +28,4 @@ AutoForm.hooks({
}
}
});
});