[Mapbender-commits] r5263 - branches/2.6/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 4 08:31:08 EST 2010


Author: christoph
Date: 2010-01-04 08:31:08 -0500 (Mon, 04 Jan 2010)
New Revision: 5263

Modified:
   branches/2.6/http/php/mod_meetingPoint.php
Log:
fixed IE6 bug

Modified: branches/2.6/http/php/mod_meetingPoint.php
===================================================================
--- branches/2.6/http/php/mod_meetingPoint.php	2010-01-04 13:30:36 UTC (rev 5262)
+++ branches/2.6/http/php/mod_meetingPoint.php	2010-01-04 13:31:08 UTC (rev 5263)
@@ -162,7 +162,8 @@
 
 
 function mod_meetingPoint_draw(){
-    var splitext  = document.forms[0].mytext.value;
+		
+	var splitext  = document.forms[0].mytext.value;
     document.forms[0].mytext.value = splitext.substring(0, meetingPoint_max_characters);
     	
 	var mapObject = parent.getMapObjByName(mod_meetingPoint_target);
@@ -182,14 +183,14 @@
 		
 				//create Box Elements
 
-				var $div = $("<div id='" + mapObject.elementName + "_meetingPoint_permanent'></div>");
+				var $div = parent.$("<div id='" + mapObject.elementName + "_meetingPoint_permanent'></div>");
 				$div.css({
 					position: "absolute",
 					top: "0px",
 					left: "0px",
 					zIndex: 20
 				});
-				map_el.appendChild($div.get(0));
+				$(map_el).append($div);
 			}
 			$(parent.document.getElementById(mapObject.elementName + "_meetingPoint_permanent")).html(tagSource);
 		}



More information about the Mapbender_commits mailing list