[Mapbender-commits] r5975 - in trunk/mapbender: http/classes lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Apr 19 06:07:03 EDT 2010


Author: verenadiewald
Date: 2010-04-19 06:06:29 -0400 (Mon, 19 Apr 2010)
New Revision: 5975

Modified:
   trunk/mapbender/http/classes/class_element.php
   trunk/mapbender/lib/core.js
Log:
removed class hide-during-splash from all elements with that class

Modified: trunk/mapbender/http/classes/class_element.php
===================================================================
--- trunk/mapbender/http/classes/class_element.php	2010-04-19 09:54:58 UTC (rev 5974)
+++ trunk/mapbender/http/classes/class_element.php	2010-04-19 10:06:29 UTC (rev 5975)
@@ -220,9 +220,9 @@
 		    	$openTag .= $this->moreStyles;
 			}
 			$openTag .= "'";
-//			if ($this->element !== "body") {
-//				$openTag .= " class='hide-during-splash'";
-//			}
+			if ($this->element !== "body") {
+				$openTag .= " class='hide-during-splash'";
+			}
 			$openTag .= ">";
 
 			if ($this->element == "body") {

Modified: trunk/mapbender/lib/core.js
===================================================================
--- trunk/mapbender/lib/core.js	2010-04-19 09:54:58 UTC (rev 5974)
+++ trunk/mapbender/lib/core.js	2010-04-19 10:06:29 UTC (rev 5975)
@@ -52,7 +52,7 @@
 Mapbender.events.hideSplashScreen.register(function() {
 	// remove the splash screen, show the application
 	$("#loading_mapbender").remove();
-	$("body").children().removeClass("hide-during-splash");
+	$(".hide-during-splash").removeClass("hide-during-splash");
 });
 
 Mapbender.events.afterInit.register(function () {



More information about the Mapbender_commits mailing list