mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-19 14:02:58 +01:00
new clientside hook action:profile.update
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user