From a0cf6046f13379b1aa19a7160c848a411be8a67d Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 19 Oct 2016 20:16:48 +0300 Subject: [PATCH] new clientside hook action:profile.update --- public/src/client/account/edit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/client/account/edit.js b/public/src/client/account/edit.js index 915e2b5079..4dbf805285 100644 --- a/public/src/client/account/edit.js +++ b/public/src/client/account/edit.js @@ -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);