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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 6 10:06:36 EST 2008


Author: christoph
Date: 2008-11-06 10:06:36 -0500 (Thu, 06 Nov 2008)
New Revision: 3187

Modified:
   trunk/mapbender/http/javascripts/mod_switchLocale_noreload.php
Log:
code conventions

Objects begin with capital letters!

Modified: trunk/mapbender/http/javascripts/mod_switchLocale_noreload.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_switchLocale_noreload.php	2008-11-06 15:04:32 UTC (rev 3186)
+++ trunk/mapbender/http/javascripts/mod_switchLocale_noreload.php	2008-11-06 15:06:36 UTC (rev 3187)
@@ -31,7 +31,7 @@
 	var index = document.getElementById("language").selectedIndex;
 	var lang = document.getElementById("language").options[index].value;
 	mb_ajax_post("../php/mod_setLocale.php", {"lang":lang}, function(result, status) {
-		mapbender.locale = result;
+		Mapbender.locale = result;
 		eventLocalize.trigger();
 	});
 }



More information about the Mapbender_commits mailing list