[OpenLayers-Commits] r2054 - sandbox/camptocamp/advancedcontrol/lib/OpenLayers

commits at openlayers.org commits at openlayers.org
Thu Dec 14 07:44:19 EST 2006


Author: pgiraud
Date: 2006-12-14 07:44:13 -0500 (Thu, 14 Dec 2006)
New Revision: 2054

Modified:
   sandbox/camptocamp/advancedcontrol/lib/OpenLayers/Control.js
Log:
position changed to absolute for controls with no id by default

Modified: sandbox/camptocamp/advancedcontrol/lib/OpenLayers/Control.js
===================================================================
--- sandbox/camptocamp/advancedcontrol/lib/OpenLayers/Control.js	2006-12-14 11:02:06 UTC (rev 2053)
+++ sandbox/camptocamp/advancedcontrol/lib/OpenLayers/Control.js	2006-12-14 12:44:13 UTC (rev 2054)
@@ -65,6 +65,7 @@
         if (this.div == null) {
             this.div = document.createElement("div");
             this.div.id = this.id;
+            this.div.style.position = "absolute";
             this.div.className = this.controlName;
         }
         if (px != null) {



More information about the Commits mailing list