adding warning msg on delete user popup

This commit is contained in:
ezequiel 2014-01-24 00:21:27 -03:00
parent 7151aa4e2c
commit 4f40431d55
2 changed files with 2 additions and 3 deletions

View File

@ -32,6 +32,7 @@ YOUR_ROLE=Your Role
FORGOT_PASSWORD=Forgot Password ? FORGOT_PASSWORD=Forgot Password ?
CHANGE_PASSWORD=Change Password CHANGE_PASSWORD=Change Password
CHANGE_LANGUAGE=Change Language CHANGE_LANGUAGE=Change Language
WARNING_DELETE_USER=Warning! This action cannot be undone.
FAQ=Frequent Asked Questions FAQ=Frequent Asked Questions
SHORT_FAQ=FAQ SHORT_FAQ=FAQ
LOGIN=Login LOGIN=Login

View File

@ -90,8 +90,7 @@
</form> </form>
</div> </div>
<div class="tab-pane fade" id="deleteAccountPanel"> <div class="tab-pane fade" id="deleteAccountPanel">
<div id="deleteAccountMsg" class="alert"> <div id="deleteAccountMsg" class="alert alert-error" style="display: block;"><spring:message code="WARNING_DELETE_USER"/></div>
</div>
<form action="#" method="POST" id="deleteAccountForm"> <form action="#" method="POST" id="deleteAccountForm">
<fieldset> <fieldset>
<input type="checkbox" name="confirmAccountDelete" id="accountMarkedForDelete" required="required"/> <input type="checkbox" name="confirmAccountDelete" id="accountMarkedForDelete" required="required"/>
@ -107,7 +106,6 @@
$('#changePasswordMsg').hide(); $('#changePasswordMsg').hide();
$('#changeInfoMsg').hide(); $('#changeInfoMsg').hide();
$('#languageMsg').hide(); $('#languageMsg').hide();
$('#deleteAccountMsg').hide();
function postChange(url, postBody, msgContainerId, successMsg) { function postChange(url, postBody, msgContainerId, successMsg) {
// Change success message ... // Change success message ...