Skip to content

Commit 6d953ea

Browse files
committed
Fade out login form
1 parent 37f69dd commit 6d953ea

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎ui/scripts/ui-custom/login.js‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,14 @@
7777
data: data,
7878
response: {
7979
success: function(args) {
80-
$login.remove();
81-
$('html body').removeClass('login');
82-
complete({
83-
user: args.data.user
84-
});
80+
$login.addClass('animated fadeOutUp');
81+
setTimeout(function() {
82+
$login.remove();
83+
$('html body').removeClass('login');
84+
complete({
85+
user: args.data.user
86+
});
87+
}, 100);
8588
},
8689
error: function(args) {
8790
cloudStack.dialog.notice({

0 commit comments

Comments
 (0)