From d5f658677e6afe2828d05c4b7921a7e23bdcc8d5 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Tue, 11 Feb 2014 23:27:46 -0300 Subject: [PATCH] Fix no closed div element on account settings. --- .../src/main/webapp/jsp/accountSettings.jsp | 151 ++++++++++-------- 1 file changed, 87 insertions(+), 64 deletions(-) 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 @@
  • -
  • + +
  • +
    -
    -
    +
    - + +
    - +
    +
    - -
    + +
    - + +
    - +
    - "/> -
    + "/> +
    -
    -
    +
    - + +
    - +
    - + +
    - +
    - "/> + "/>
    @@ -74,49 +90,56 @@
    - +
    -
    -
    -
    -
    - "/> -
    +
    +
    +
    +
    + "/>
    +
    -
    +
    - "/> + + "/>
    @@ -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);