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 ?
CHANGE_PASSWORD=Change Password
CHANGE_LANGUAGE=Change Language
WARNING_DELETE_USER=Warning! This action cannot be undone.
FAQ=Frequent Asked Questions
SHORT_FAQ=FAQ
LOGIN=Login

View File

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