summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-05 18:14:52 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-05 18:14:52 +0100
commit8fea22314ceaf9b1a3865c02e587aa5b0c4f1c38 (patch)
tree504d074e83ee7b8ff8690a03569e73b00a935552 /core/js
parent91195b7cf2e55d82b98fdc76ef4ad4a6eecad10d (diff)
downloadnextcloud-server-8fea22314ceaf9b1a3865c02e587aa5b0c4f1c38.tar.gz
nextcloud-server-8fea22314ceaf9b1a3865c02e587aa5b0c4f1c38.zip
Fix template order and animation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/lostpassword.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/js/lostpassword.js b/core/js/lostpassword.js
index bd7dc9de399..446d70d991e 100644
--- a/core/js/lostpassword.js
+++ b/core/js/lostpassword.js
@@ -35,6 +35,7 @@ OC.Lostpassword = {
$('#reset-password-wrapper').slideUp().fadeOut();
$('#lost-password').slideDown().fadeIn();
+ $('#lost-password-back').hide();
$('.remember-login-container').slideDown().fadeIn();
$('#submit-wrapper').slideDown().fadeIn();
$('.groupbottom').slideDown().fadeIn();
@@ -47,7 +48,8 @@ OC.Lostpassword = {
resetLink : function(event){
event.preventDefault();
- $('#lost-password').slideUp().fadeOut();
+ $('#lost-password').hide();
+ $('#lost-password-back').slideDown().fadeIn();
$('.remember-login-container').slideUp().fadeOut();
$('#submit-wrapper').slideUp().fadeOut();
$('.groupbottom').slideUp().fadeOut(function(){
@@ -118,6 +120,7 @@ OC.Lostpassword = {
// update is the better success message styling
node.addClass('update').css({width:'auto'});
node.html(OC.Lostpassword.sendSuccessMsg);
+ OC.Lostpassword.resetButtons();
},
sendLinkError : function(msg){