includes/clientside/static/login.js
changeset 1176 5c98b9f181f0
parent 1136 8c664c96fccd
child 1210 ad49fa34ff3c
equal deleted inserted replaced
1175:1e2c9819ede3 1176:5c98b9f181f0
   119   // Cancel function: called when the "Cancel" button is clicked
   119   // Cancel function: called when the "Cancel" button is clicked
   120   //
   120   //
   121   logindata.mb_object.onclick['Cancel'] = function()
   121   logindata.mb_object.onclick['Cancel'] = function()
   122   {
   122   {
   123     // Hide the error message, if any
   123     // Hide the error message, if any
   124     $('ajax_login_error_box').remove();
   124     $('#ajax_login_error_box').remove();
   125     // Hide the captcha, if any
   125     // Hide the captcha, if any
   126     if ( document.getElementById('autoCaptcha') )
   126     if ( document.getElementById('autoCaptcha') )
   127     {
   127     {
   128       var to = fly_out_top(document.getElementById('autoCaptcha'), false, true);
   128       var to = fly_out_top(document.getElementById('autoCaptcha'), false, true);
   129       setTimeout(function() {
   129       setTimeout(function() {