From 6d953eacf954f96dab97ecc3646efcd7f06cb4a9 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 26 Sep 2013 14:27:53 -0700 Subject: [PATCH] Fade out login form --- ui/scripts/ui-custom/login.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ui/scripts/ui-custom/login.js b/ui/scripts/ui-custom/login.js index bcb03db3bc3..3487da3bfcd 100644 --- a/ui/scripts/ui-custom/login.js +++ b/ui/scripts/ui-custom/login.js @@ -77,11 +77,14 @@ data: data, response: { success: function(args) { - $login.remove(); - $('html body').removeClass('login'); - complete({ - user: args.data.user - }); + $login.addClass('animated fadeOutUp'); + setTimeout(function() { + $login.remove(); + $('html body').removeClass('login'); + complete({ + user: args.data.user + }); + }, 100); }, error: function(args) { cloudStack.dialog.notice({