mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
- Fix login button bug when the form produces an error.
This commit is contained in:
parent
849cb4a9ce
commit
e1d4f0afc8
@ -6,7 +6,7 @@
|
|||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript" language="javascript">
|
||||||
$(function () {
|
$(function () {
|
||||||
$('#loginForm').submit(function () {
|
$('#loginForm').submit(function () {
|
||||||
$('.btn-primary').button("<spring:message code="SIGN_IN"/> ...");
|
$('.btn-primary').button("loading");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<div class="control-group" style="text-align: right">
|
<div class="control-group" style="text-align: right">
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<button class="btn btn-primary" tabindex="4"><spring:message code="SIGN_IN"/></button>
|
<button class="btn btn-primary" tabindex="4" data-loading-text="<spring:message code="SIGN_ING"/>"><spring:message code="SIGN_IN"/></button>
|
||||||
<input type="checkbox" id="rememberme" name="_spring_security_remember_me"
|
<input type="checkbox" id="rememberme" name="_spring_security_remember_me"
|
||||||
tabindex="3"/> <spring:message code="REMEMBER_ME"/>
|
tabindex="3"/> <spring:message code="REMEMBER_ME"/>
|
||||||
</label>
|
</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user