[fusion-commits] r1855 - trunk/lib/OpenLayers
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed May 20 13:06:38 EDT 2009
Author: pagameba
Date: 2009-05-20 13:06:38 -0400 (Wed, 20 May 2009)
New Revision: 1855
Modified:
trunk/lib/OpenLayers/OpenLayers.js
Log:
re #256, patching OL to prevent errors in IE 8
Modified: trunk/lib/OpenLayers/OpenLayers.js
===================================================================
--- trunk/lib/OpenLayers/OpenLayers.js 2009-05-19 18:05:08 UTC (rev 1854)
+++ trunk/lib/OpenLayers/OpenLayers.js 2009-05-20 17:06:38 UTC (rev 1855)
@@ -11782,6 +11782,11 @@
var style = document.createStyleSheet();
style.addRule('olv\\:*', "behavior: url(#default#VML); " +
"position: absolute; display: inline-block;");
+ var shapes = ['shape','rect', 'oval', 'fill', 'stroke', 'imagedata', 'group','textbox'];
+ for (var i = 0, len = shapes.length; i < len; i++) {
+ style.addRule('olv\\:' + shapes[i], "behavior: url(#default#VML); " +
+ "position: absolute; display: inline-block;");
+ }
}
OpenLayers.Renderer.Elements.prototype.initialize.apply(this,
More information about the fusion-commits
mailing list