Show spinner

This commit is contained in:
Lukas Reschke 2014-11-17 17:49:58 +01:00
parent 68e77f4659
commit 9eeea57e3a
2 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,7 @@ OC.Lostpassword = {
}
if($('#encrypted-continue').attr('checked')) {
$('#reset-password #submit').hide();
$('#reset-password #float-spinner').removeClass('hidden');
}
},

View File

@ -13,5 +13,6 @@ script('core', 'lostpassword');
<img class="svg" id="password-icon" src="<?php print_unescaped(image_path('', 'actions/password.svg')); ?>" alt=""/>
</p>
<input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
<img class="hidden" id="float-spinner" src="<?php p(\OCP\Util::imagePath('core', 'loading-dark.gif'));?>"/>
</fieldset>
</form>