Removes tipsy when password verification is going on
This commit is contained in:
parent
16711a2f99
commit
b30908ba5d
|
@ -490,8 +490,9 @@ label.infield {
|
|||
}
|
||||
#personal-show + label {
|
||||
height: 14px;
|
||||
margin-top: 14px;
|
||||
margin-left: -36px;
|
||||
margin-top: -25px;
|
||||
left: 295px;
|
||||
display: block;
|
||||
}
|
||||
#passwordbutton {
|
||||
margin-left: .5em;
|
||||
|
|
|
@ -221,12 +221,14 @@ $(document).ready(function () {
|
|||
$('#passworderror').hide();
|
||||
$("#passwordbutton").attr('disabled', 'disabled');
|
||||
$("#passwordbutton").after("<span class='password-loading icon icon-loading-small-dark password-state'></span>");
|
||||
$(".personal-show-label").hide();
|
||||
// Ajax foo
|
||||
$.post(OC.generateUrl('/settings/personal/changepassword'), post, function (data) {
|
||||
if (data.status === "success") {
|
||||
$(".password-loading").remove();
|
||||
$("#passwordbutton").after("<span class='checkmark icon icon-checkmark password-state'></span>");
|
||||
removeloader();
|
||||
$(".personal-show-label").show();
|
||||
$('#pass1').val('');
|
||||
$('#pass2').val('').change();
|
||||
OC.msg.finishedSaving('#password-error-msg', data);
|
||||
|
|
|
@ -129,7 +129,7 @@ if($_['passwordChangeSupported']) {
|
|||
placeholder="<?php echo $l->t('New password');?>"
|
||||
data-typetoggle="#personal-show"
|
||||
autocomplete="off" autocapitalize="off" autocorrect="off" />
|
||||
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label>
|
||||
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show" class="personal-show-label"></label>
|
||||
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
|
||||
<br/>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue