mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
delete account lash in account settings
This commit is contained in:
parent
8a684519f0
commit
da2594292b
@ -8,6 +8,7 @@
|
||||
<li><a href="#changePasswordPanel" data-toggle="pill"><spring:message code="SECURITY"/></a></li>
|
||||
</c:if>
|
||||
<li><a href="#languagePanel" data-toggle="pill"><spring:message code="LANGUAGE"/></a></li>
|
||||
<li><a href="#deleteAccountPanel" data-toggle="pill"><spring:message code="DELETE__ACCOUNT"/></a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
@ -93,8 +94,7 @@
|
||||
</div>
|
||||
<form action="#" method="POST" id="deleteAccountForm">
|
||||
<fieldset>
|
||||
<label for="accountMarkedForDelete"><strong><spring:message code="NEW_PASSWORD"/>:</strong></label>
|
||||
<input type="checkbox" name="confirmAccountDelete" id="confirmAccountDelete" required="required"/>
|
||||
<input type="checkbox" name="confirmAccountDelete" id="accountMarkedForDelete" required="required"/>
|
||||
<input type="submit" id="deleteAccountBtn" class="btn btn-primary"
|
||||
value="<spring:message code="DELETE__ACCOUNT"/>"/>
|
||||
</fieldset>
|
||||
@ -162,7 +162,7 @@
|
||||
|
||||
var locale = $('#deleteAccountForm option:selected').val();
|
||||
|
||||
postChange("c/restful/account/locale", locale, 'languageMsg', "<spring:message code="INFO_UPDATE_SUCCESS"/>");
|
||||
postChange("c/restful/account/locale", locale, 'deleteAccountMsg', "<spring:message code="INFO_UPDATE_SUCCESS"/>");
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user