[Mapbender-commits] r5599 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 23 07:45:08 EST 2010


Author: verenadiewald
Date: 2010-02-23 07:45:05 -0500 (Tue, 23 Feb 2010)
New Revision: 5599

Modified:
   branches/2.6/http/javascripts/mod_changeEPSG.php
Log:
synchronize ajax request

Modified: branches/2.6/http/javascripts/mod_changeEPSG.php
===================================================================
--- branches/2.6/http/javascripts/mod_changeEPSG.php	2010-02-23 11:11:42 UTC (rev 5598)
+++ branches/2.6/http/javascripts/mod_changeEPSG.php	2010-02-23 12:45:05 UTC (rev 5599)
@@ -85,6 +85,7 @@
 			"newSrs": $("#"+myId).get(0).value
 		}
 	});
+	$.ajaxSetup({async:false});
 	req.send("../php/mod_changeEPSG_server.php", function (obj, success, message) {
 		if (!success) {
 			new Mb_exception("!!!!!!"+message);
@@ -198,6 +199,7 @@
 			}, 200);
 		}
 	});
+	$.ajaxSetup({async:true});
 };
 
 $("#"+myId).change(function () {



More information about the Mapbender_commits mailing list