[OpenLayers-Commits] r12037 - trunk/openlayers/lib/OpenLayers/Layer

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Jun 3 07:28:51 EDT 2011


Author: ahocevar
Date: 2011-06-03 04:28:49 -0700 (Fri, 03 Jun 2011)
New Revision: 12037

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/EventPane.js
Log:
appending event pane to the eventsDiv instead of the viewPortDiv. r=fredj (see #3339)

Modified: trunk/openlayers/lib/OpenLayers/Layer/EventPane.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/EventPane.js	2011-06-03 07:27:42 UTC (rev 12036)
+++ trunk/openlayers/lib/OpenLayers/Layer/EventPane.js	2011-06-03 11:28:49 UTC (rev 12037)
@@ -108,7 +108,7 @@
         }
 
         if (this.isFixed) {
-            this.map.viewPortDiv.appendChild(this.pane);
+            this.map.eventsDiv.appendChild(this.pane);
         } else {
             this.map.layerContainerDiv.appendChild(this.pane);
         }



More information about the Commits mailing list