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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 4 09:00:25 EDT 2007


Author: christoph
Date: 2007-06-04 09:00:24 -0400 (Mon, 04 Jun 2007)
New Revision: 1428

Modified:
   trunk/mapbender/http/javascripts/map.js
Log:
replaced alerts with mb_exception

Modified: trunk/mapbender/http/javascripts/map.js
===================================================================
--- trunk/mapbender/http/javascripts/map.js	2007-06-04 12:34:25 UTC (rev 1427)
+++ trunk/mapbender/http/javascripts/map.js	2007-06-04 13:00:24 UTC (rev 1428)
@@ -1318,7 +1318,7 @@
 		mb_ajaxWrap_get(url, param, callback);
 	}
 	catch(e) {
-		alert('map.php: mb_ajax_get:'+e);
+		var error = new Mb_exception('map.php: mb_ajax_get:'+e);
 	}
 }	
 
@@ -1334,7 +1334,7 @@
 		mb_ajaxWrap_post(url, param, callback);
 	}
 	catch(e) {
-		alert('map.php: mb_ajax_post:'+e);
+		var error = new Mb_exception('map.php: mb_ajax_post:'+e);
 	}
 }	
 	
@@ -1350,7 +1350,7 @@
 		mb_ajaxWrap_json(url, param, callback);
 	}
 	catch(e) {
-		alert('map.php: mb_ajax_json:'+e);
+		var error = new Mb_exception('map.php: mb_ajax_json:'+e);
 	}
 }	
 	



More information about the Mapbender_commits mailing list