From b605dfc3b500795ca42e6af92fd0a0a12c434ada Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Thu, 9 Feb 2012 15:51:04 -0500 Subject: [PATCH] Flashes error message for all forms on sign up --- index.html | 2 +- marketing.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b1ee886b07..8a8820cc7d 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,7 @@ $(function() { if(json.success) { $('#enroll').html(json.value); } else { - $('#enroll_error').html(json.value); + $('#enroll_error').html(json.value).stop().css("background-color", "#933").animate({ backgroundColor: "#333"}, 2000); } } ); diff --git a/marketing.html b/marketing.html index e941ab38fe..84e5b50666 100644 --- a/marketing.html +++ b/marketing.html @@ -100,7 +100,6 @@ function postJSON(url, data, callback) { % if settings.COURSEWARE_ENABLED:
<%include file="login.html" />
-
<%include file="create_account.html" />
% endif
<%include file="password_reset_form.html" />
@@ -142,7 +141,7 @@ $(document).ready(function(){ if (json.success) { $('#pwd_reset').html(json.value); } else { - $('#pwd_error').html(json.error); + $('#pwd_error').html(json.error).stop().css("background-color", "#933").animate({ backgroundColor: "#333"}, 2000); } } );