Browse Source

Anomalie #705: Login: erreur js

Bastien Sevajol 12 years ago
parent
commit
4fdc599ae6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/CoreBundle/Resources/public/js/muzich.js

+ 1 - 0
src/Muzich/CoreBundle/Resources/public/js/muzich.js View File

3040
         }
3040
         }
3041
         else if (response.status == 'error')
3041
         else if (response.status == 'error')
3042
         {
3042
         {
3043
+          $('div.login form').find('ul.error_list').remove();
3043
           $('div.login form').prepend('<ul class="error_list"><li>'+response.data.error+'</li></ul>');
3044
           $('div.login form').prepend('<ul class="error_list"><li>'+response.data.error+'</li></ul>');
3044
           $('div.login form input#password').val('');
3045
           $('div.login form input#password').val('');
3045
         }
3046
         }