|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
define('forum/account/profile', [
|
|
|
|
|
'forum/account/header',
|
|
|
|
|
'components',
|
|
|
|
|
], function (header) {
|
|
|
|
|
'bootbox',
|
|
|
|
|
], function (header, bootbox) {
|
|
|
|
|
var Account = {};
|
|
|
|
|
|
|
|
|
|
Account.init = function () {
|
|
|
|
@ -14,6 +14,10 @@ define('forum/account/profile', [
|
|
|
|
|
|
|
|
|
|
processPage();
|
|
|
|
|
|
|
|
|
|
if (parseInt(ajaxify.data.emailChanged, 10) === 1) {
|
|
|
|
|
bootbox.alert('[[user:emailUpdate.change-instructions]]');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
socket.removeListener('event:user_status_change', onUserStatusChange);
|
|
|
|
|
socket.on('event:user_status_change', onUserStatusChange);
|
|
|
|
|
};
|
|
|
|
|