@ -31,7 +31,7 @@ define('forum/account/edit/email', ['forum/account/header'], function (header) {
return app.alertError(err.message);
}
ajaxify.go('user/' + ajaxify.data.userslug);
ajaxify.go('user/' + ajaxify.data.userslug + '/edit');
});
return false;
@ -82,8 +82,11 @@ define('forum/account/edit/password', ['forum/account/header', 'translator', 'zx
onPasswordConfirmChanged();
if (parseInt(app.user.uid, 10) === parseInt(ajaxify.data.uid, 10)) {
window.location.href = config.relative_path + '/login';
} else {
if (!passwordsmatch) {
@ -39,7 +39,7 @@ define('forum/account/edit/username', ['forum/account/header'], function (header
$('[component="header/usericon"]').css('background-color', data['icon:bgColor']).text(data['icon:text']);
ajaxify.go('user/' + userslug);
ajaxify.go('user/' + userslug + '/edit');