equal
deleted
inserted
replaced
32 // Send a series of tests to the server, and if we get an "expected" response |
32 // Send a series of tests to the server, and if we get an "expected" response |
33 setTimeout("ajaxGet(scriptPath + '/install/rewrite', __ajaxMrwTest_chain_rewrite);", 750); |
33 setTimeout("ajaxGet(scriptPath + '/install/rewrite', __ajaxMrwTest_chain_rewrite);", 750); |
34 } |
34 } |
35 var __ajaxMrwTest_chain_rewrite = function() |
35 var __ajaxMrwTest_chain_rewrite = function() |
36 { |
36 { |
37 if ( ajax.readyState == 4 && ajax.status == 200 ) |
37 if ( ajax.readyState == 4 ) |
38 { |
38 { |
39 if ( ajax.responseText == 'good_rewrite' ) |
39 if ( ajax.responseText == 'good_rewrite' ) |
40 { |
40 { |
41 ajaxMrwSet('rewrite'); |
41 ajaxMrwSet('rewrite'); |
42 } |
42 } |
46 } |
46 } |
47 } |
47 } |
48 } |
48 } |
49 var __ajaxMrwTest_chain_shortened = function() |
49 var __ajaxMrwTest_chain_shortened = function() |
50 { |
50 { |
51 if ( ajax.readyState == 4 && ajax.status == 200 ) |
51 if ( ajax.readyState == 4 ) |
52 { |
52 { |
53 if ( ajax.responseText == 'good_shortened' ) |
53 if ( ajax.responseText == 'good_shortened' ) |
54 { |
54 { |
55 ajaxMrwSet('standard'); |
55 ajaxMrwSet('standard'); |
56 } |
56 } |
60 } |
60 } |
61 } |
61 } |
62 } |
62 } |
63 var __ajaxMrwTest_chain_standard = function() |
63 var __ajaxMrwTest_chain_standard = function() |
64 { |
64 { |
65 if ( ajax.readyState == 4 && ajax.status == 200 ) |
65 if ( ajax.readyState == 4 ) |
66 { |
66 { |
67 if ( ajax.responseText == 'good_standard' ) |
67 if ( ajax.responseText == 'good_standard' ) |
68 { |
68 { |
69 ajaxMrwSet('standard'); |
69 ajaxMrwSet('standard'); |
70 } |
70 } |