OpenLayers OpenLayers

Ticket #136 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Units not specified in OpenLayers.Popup.setSize

Reported by: art@ischium.net Assigned to: euzuro
Priority: trivial Milestone: 2.0 Release
Component: Popup Version:
Keywords: Cc:
State:

Description

--- lib/OpenLayers/Popup.js     (revision 931)
+++ lib/OpenLayers/Popup.js     (working copy)
@@ -167,8 +167,8 @@
         }
         
         if (this.div != null) {
-            this.div.style.width = this.size.w;
-            this.div.style.height = this.size.h;
+            this.div.style.width = this.size.w + 'px';
+            this.div.style.height = this.size.h + 'px';
         }
     },

Cheers

Change History

08/10/06 02:02:57 changed by euzuro

  • status changed from new to closed.
  • resolution set to fixed.

fixed with r1187

08/16/06 01:04:59 changed by euzuro

  • milestone set to 2.0 Release.