Skip to content
Browse files

Don't display a empty red password form by hide it faster.

  • Loading branch information...
1 parent 77ce0c7 commit 69c356c0db8b478180d5c193ee20f6890c87984f @jedie committed Mar 14, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 pylucid_project/pylucid_plugins/auth/templates/auth/sha_form.html
View
12 pylucid_project/pylucid_plugins/auth/templates/auth/sha_form.html
@@ -141,12 +141,12 @@
sha_a2 = sha_hexdigest(challenge + sha_a);
if (sha_a2 == false) { return false; }
- // display SHA values
- $("#sha_values_block").css("display", "block").slideDown();
- $("#id_password").val(""); // 'delete' plaintext password
- $("#password_block").slideUp();
- $("#id_sha_a2").val(sha_a2);
- $("#id_sha_b").val(sha_b);
+ // display SHA values
+ $("#password_block").slideUp(1).delay(500);
+ $("#sha_values_block").css("display", "block").slideDown();
+ $("#id_password").val(""); // 'delete' plaintext password
+ $("#id_sha_a2").val(sha_a2);
+ $("#id_sha_b").val(sha_b);
var post_data = {
"username": username, "sha_a2": sha_a2, "sha_b": sha_b,

0 comments on commit 69c356c

Please sign in to comment.
Something went wrong with that request. Please try again.