includes/clientside/static/login.js
changeset 1231 4797a4a88533
parent 1227 bdac73ed481e
child 1264 28c82f292a52
equal deleted inserted replaced
1230:31d226269d2f 1231:4797a4a88533
   971 	ajaxLoginPerformRequest(json_packet);
   971 	ajaxLoginPerformRequest(json_packet);
   972 }
   972 }
   973 
   973 
   974 window.ajaxLoginShowFriendlyError = function(response)
   974 window.ajaxLoginShowFriendlyError = function(response)
   975 {
   975 {
       
   976 	eval(setHook('ajax_login_process_error'));
   976 	var text = ajaxLoginGetErrorText(response);
   977 	var text = ajaxLoginGetErrorText(response);
   977 	if ( text == false )
   978 	if ( text == false )
   978 		return true;
   979 		return true;
   979 		
   980 		
   980 	if ( document.getElementById('ajax_login_error_box') )
   981 	if ( document.getElementById('ajax_login_error_box') )