includes/clientside/static/misc.js
changeset 140 40f7fa5fd061
parent 135 c5dbad7ec2d0
child 144 380e55865f86
equal deleted inserted replaced
139:070ff1509cc2 140:40f7fa5fd061
   444     'challenge' : challenge_data,
   444     'challenge' : challenge_data,
   445     'crypt_data' : crypt_data,
   445     'crypt_data' : crypt_data,
   446     'level' : ajax_auth_level_cache
   446     'level' : ajax_auth_level_cache
   447   };
   447   };
   448   
   448   
   449   window.console.debug(json_data);
   449   if ( window.console )
       
   450     window.console.debug(json_data);
   450   json_data = toJSONString(json_data);
   451   json_data = toJSONString(json_data);
   451   window.console.debug(json_data);
   452   if ( window.console )
       
   453     window.console.debug(json_data);
   452   json_data = encodeURIComponent(json_data);
   454   json_data = encodeURIComponent(json_data);
   453   window.console.debug(json_data);
   455   if ( window.console )
       
   456     window.console.debug(json_data);
   454   
   457   
   455   var loading_win = '<div align="center" style="text-align: center;"> \
   458   var loading_win = '<div align="center" style="text-align: center;"> \
   456       <p>Logging in...</p> \
   459       <p>Logging in...</p> \
   457       <p><img alt="Please wait..." src="'+scriptPath+'/images/loading-big.gif" /></p> \
   460       <p><img alt="Please wait..." src="'+scriptPath+'/images/loading-big.gif" /></p> \
   458     </div>';
   461     </div>';