mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
delete account lash in account settings
This commit is contained in:
parent
24417d4fd0
commit
f30106ab39
@ -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