From b06a8762a41bb65737389e8fcb39ab5f1a86b340 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 24 Feb 2008 08:02:41 +0000 Subject: [PATCH] asynchronous false implies synchronous git-svn-id: http://svn.openlayers.org/trunk/openlayers@6346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/manual/ajax.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 :