diff --git a/wise-webapp/src/main/webapp/jsp/accountSettings.jsp b/wise-webapp/src/main/webapp/jsp/accountSettings.jsp
index 4b5cc92d..2030cb6b 100755
--- a/wise-webapp/src/main/webapp/jsp/accountSettings.jsp
+++ b/wise-webapp/src/main/webapp/jsp/accountSettings.jsp
@@ -8,62 +8,78 @@
-
+
+
+
+
@@ -157,11 +180,11 @@
postChange(
"c/restful/account/password",
inputVal,
- function() {
+ function () {
changePasswordMsg.removeClass('alert-danger').addClass('alert-info').show();
changePasswordMsg.text('');
},
- function(textStatus) {
+ function (textStatus) {
changePasswordMsg.removeClass('alert-info').addClass('alert-danger').show();
changePasswordMsg.text(textStatus);
}
@@ -177,12 +200,12 @@
postChange(
"c/restful/account/firstname",
firstname,
- function() {
+ function () {
var changeInfoMsg = $('#changeInfoMsg');
changeInfoMsg.removeClass('alert-error').addClass('alert-info').show();
changeInfoMsg.text('');
},
- function(textStatus) {
+ function (textStatus) {
changeInfoMsg.removeClass('alert-info').addClass('alert-danger').show();
changeInfoMsg.text(textStatus);
}
@@ -190,11 +213,11 @@
postChange(
"c/restful/account/lastname",
lastname,
- function() {
+ function () {
changeInfoMsg.removeClass('alert-danger').addClass('alert-info').show();
changeInfoMsg.text('');
},
- function(textStatus) {
+ function (textStatus) {
changeInfoMsg.removeClass('alert-info').addClass('alert-danger').show();
changeInfoMsg.text(textStatus);
}
@@ -209,11 +232,11 @@
postChange(
"c/restful/account/locale",
locale,
- function() {
+ function () {
languageMsg.removeClass('alert-danger').addClass('alert-info').show();
languageMsg.text('');
},
- function(textStatus) {
+ function (textStatus) {
languageMsg.removeClass('alert-info').addClass('alert-danger').show();
languageMsg.text(textStatus);
}
@@ -226,10 +249,10 @@
postChange(
"c/restful/account",
locale,
- function() {
+ function () {
window.location.href = "/c/logout"
},
- function(textStatus) {
+ function (textStatus) {
var deleteAccountMsg = $('#deleteAccountMsg');
deleteAccountMsg.removeClass('alert-info').addClass('alert-danger').show();
deleteAccountMsg.text(textStatus);