[Mapbender-commits] r5669 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 25 08:17:06 EST 2010


Author: verenadiewald
Date: 2010-02-25 08:17:05 -0500 (Thu, 25 Feb 2010)
New Revision: 5669

Modified:
   trunk/mapbender/http/javascripts/mod_changeEPSG.js
Log:
set displayWarning to false

Modified: trunk/mapbender/http/javascripts/mod_changeEPSG.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_changeEPSG.js	2010-02-25 13:16:05 UTC (rev 5668)
+++ trunk/mapbender/http/javascripts/mod_changeEPSG.js	2010-02-25 13:17:05 UTC (rev 5669)
@@ -204,7 +204,7 @@
 							parseFloat(newExtent[i].maxx),
 							parseFloat(newExtent[i].maxy)
 						),
-						displayWarning: true
+						displayWarning: false
 					});
 				});
 			}
@@ -218,6 +218,7 @@
 
 	this.setSrs = function (val) {
 		var srsArray = compileSrsArray();
+		$.ajaxSetup({async:false});
 		var req = new Mapbender.Ajax.Request({
 			method: "changeEpsg",
 			url: "../php/mod_changeEPSG_server.php",
@@ -228,6 +229,7 @@
 			}
 		});
 		req.send();
+		$.ajaxSetup({async:true});
 	};
 
 	// update epsg in select box after any map request



More information about the Mapbender_commits mailing list