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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 3 11:05:20 EST 2011


Author: kmq
Date: 2011-02-03 08:05:20 -0800 (Thu, 03 Feb 2011)
New Revision: 7526

Modified:
   trunk/mapbender/http/javascripts/map_obj.js
Log:
KILL KILL KILL

Modified: trunk/mapbender/http/javascripts/map_obj.js
===================================================================
--- trunk/mapbender/http/javascripts/map_obj.js	2011-02-03 13:44:32 UTC (rev 7525)
+++ trunk/mapbender/http/javascripts/map_obj.js	2011-02-03 16:05:20 UTC (rev 7526)
@@ -1107,14 +1107,16 @@
 			
 	        $("#" + that.elementName + "_maps").append($currentRequest);
 			for (i = 0; i < requestCnt; i++) {
-		        $("#" + that.elementName + "_request_" + i).hide().each(function () {
+				// setting the visibility to hidden is a workaround to fix the ... that is Internet Explorer
+		        $("#" + that.elementName + "_request_" + i).hide().css("visibility","hidden").each(function () {
 					$(this).children().each(function () {
 						this.style.zIndex = this.style.zIndex - 1;
 					});
 				});
 			}
 		}
-		$("#" + that.elementName + "_request_" + index).show();
+		// for the reason for setting the visibility, see above
+		$("#" + that.elementName + "_request_" + index).show().css("visibility","visible");
 		
     };
     



More information about the Mapbender_commits mailing list