new clientside hook action:profile.update

v1.18.x
barisusakli 8 years ago
parent 3230583996
commit a0cf6046f1

@ -39,6 +39,8 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator',
aboutme: $('#inputAboutMe').val()
};
$(window).trigger('action:profile.update', userData);
socket.emit('user.updateProfile', userData, function (err, data) {
if (err) {
return app.alertError(err.message);

Loading…
Cancel
Save