equal
deleted
inserted
replaced
333 if ( ajax.readyState == 4 ) |
333 if ( ajax.readyState == 4 ) |
334 { |
334 { |
335 var response = String(ajax.responseText); |
335 var response = String(ajax.responseText); |
336 if ( response.substr(0,1) != '{' ) |
336 if ( response.substr(0,1) != '{' ) |
337 { |
337 { |
338 alert('Invalid JSON response from server: ' + response); |
338 handle_invalid_json(response); |
|
339 ajax_auth_mb_cache.destroy(); |
339 return false; |
340 return false; |
340 } |
341 } |
341 response = parseJSON(response); |
342 response = parseJSON(response); |
342 var level = ajax_auth_level_cache; |
343 var level = ajax_auth_level_cache; |
343 var form_html = ''; |
344 var form_html = ''; |