includes/clientside/static/misc.js
changeset 144 380e55865f86
parent 140 40f7fa5fd061
child 174 4c5c2b66a34d
equal deleted inserted replaced
143:c8bfd324cb03 144:380e55865f86
   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   if ( window.console )
       
   450     window.console.debug(json_data);
       
   451   json_data = toJSONString(json_data);
   449   json_data = toJSONString(json_data);
   452   if ( window.console )
       
   453     window.console.debug(json_data);
       
   454   json_data = encodeURIComponent(json_data);
   450   json_data = encodeURIComponent(json_data);
   455   if ( window.console )
       
   456     window.console.debug(json_data);
       
   457   
   451   
   458   var loading_win = '<div align="center" style="text-align: center;"> \
   452   var loading_win = '<div align="center" style="text-align: center;"> \
   459       <p>Logging in...</p> \
   453       <p>Logging in...</p> \
   460       <p><img alt="Please wait..." src="'+scriptPath+'/images/loading-big.gif" /></p> \
   454       <p><img alt="Please wait..." src="'+scriptPath+'/images/loading-big.gif" /></p> \
   461     </div>';
   455     </div>';