From 5c819beb702252254bc757accc05e117ac7d8707 Mon Sep 17 00:00:00 2001 From: sork Date: Mon, 23 May 2011 18:08:37 +0200 Subject: [PATCH] Newsletter error message now disappears if submit successful --- media/js/desktop/newsletter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/media/js/desktop/newsletter.js b/media/js/desktop/newsletter.js index 7525b76..0e9ee78 100644 --- a/media/js/desktop/newsletter.js +++ b/media/js/desktop/newsletter.js @@ -14,6 +14,7 @@ var initNewsletterForm = function() { }); } else if(data.status === 'success') { $form.hide(); + $errorMessage.text(''); $successMessage.show(); } }