mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-29 09:04:54 +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>
|
<li><a href="#changePasswordPanel" data-toggle="pill"><spring:message code="SECURITY"/></a></li>
|
||||||
</c:if>
|
</c:if>
|
||||||
<li><a href="#languagePanel" data-toggle="pill"><spring:message code="LANGUAGE"/></a></li>
|
<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>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
@ -93,8 +94,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<form action="#" method="POST" id="deleteAccountForm">
|
<form action="#" method="POST" id="deleteAccountForm">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label for="accountMarkedForDelete"><strong><spring:message code="NEW_PASSWORD"/>:</strong></label>
|
<input type="checkbox" name="confirmAccountDelete" id="accountMarkedForDelete" required="required"/>
|
||||||
<input type="checkbox" name="confirmAccountDelete" id="confirmAccountDelete" required="required"/>
|
|
||||||
<input type="submit" id="deleteAccountBtn" class="btn btn-primary"
|
<input type="submit" id="deleteAccountBtn" class="btn btn-primary"
|
||||||
value="<spring:message code="DELETE__ACCOUNT"/>"/>
|
value="<spring:message code="DELETE__ACCOUNT"/>"/>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@ -162,7 +162,7 @@
|
|||||||
|
|
||||||
var locale = $('#deleteAccountForm option:selected').val();
|
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();
|
event.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user