From 78b114e614442433a49e6d07cd21c38be3e581b4 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 8 Jul 2015 23:16:13 +0200 Subject: [PATCH] Fixed alert-danger problem (js) --- src/application/views/user/forgot_password.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/application/views/user/forgot_password.php b/src/application/views/user/forgot_password.php index e257ed0c..4bbad350 100644 --- a/src/application/views/user/forgot_password.php +++ b/src/application/views/user/forgot_password.php @@ -108,7 +108,9 @@ $('.alert').text('The operation failed! Please enter a valid username ' + 'and email address in order to get a new password.'); } - $('.alert').removeClass('hidden'); + $('.alert') + .removeClass('hidden alert-danger alert-success') + .addClass('alert-danger'); }, 'json'); }); });