diff --git a/tests/manual/ajax.html b/tests/manual/ajax.html index ff1c8f41c2..ca5742b904 100644 --- a/tests/manual/ajax.html +++ b/tests/manual/ajax.html @@ -22,6 +22,7 @@ var url = "ajax.txt"; function sendSynchronous(){ var request = new OpenLayers.Ajax.Request(url, { + 'asynchronous': false, onComplete: function() { document.getElementById('send_sync').value += 'request completed\n'; } @@ -30,7 +31,6 @@ } function sendAsynchronous(){ var request = new OpenLayers.Ajax.Request(url, { - 'asynchronous': false, onComplete: function() { document.getElementById('send_sync').value += 'request completed\n'; } @@ -62,9 +62,9 @@

Clicking on the different buttons should give the following results in the textarea below :