[Mapbender-commits] r3123 - branches/nimix_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 6 06:29:49 EDT 2008


Author: nimix
Date: 2008-10-06 06:29:48 -0400 (Mon, 06 Oct 2008)
New Revision: 3123

Modified:
   branches/nimix_dev/http/javascripts/popup.js
Log:


Modified: branches/nimix_dev/http/javascripts/popup.js
===================================================================
--- branches/nimix_dev/http/javascripts/popup.js	2008-10-06 09:04:49 UTC (rev 3122)
+++ branches/nimix_dev/http/javascripts/popup.js	2008-10-06 10:29:48 UTC (rev 3123)
@@ -356,7 +356,7 @@
 		//set balloon arm position
 		if(settings.balloon){
 			$("#balloon_"+settings.id).attr("class", "balloon"+(pos.position>=2?"B":"T")+(pos.position%2?"R":"L"))
-				.css({"z-index":(popup_top),visibility:"visible",left:pos.bX,top:pos.bY});
+				.css({"z-index":(popup_top),visibility:"visible",left:String(pos.bX)+"px",top:String(pos.bY)+"px"});
 			settings.left = pos.pX;
 			settings.top = pos.pY;
 		}
@@ -368,10 +368,10 @@
 		}
 		
 		//Set dimensions
-		this.css({top:settings.top+"px",
-			left:settings.left+"px",
-			width:settings.width+"px",
-			height:settings.height+"px",
+		this.css({top:String(settings.top)+"px",
+			left:String(settings.left)+"px",
+			width:String(settings.width)+"px",
+			height:String(settings.height)+"px",
 			opacity:settings.opacity
 			});
 		



More information about the Mapbender_commits mailing list