[OpenLayers-Dev] Submitted Patch for Ticket #2959
Michael Wooten
mwooten.dev at gmail.com
Thu Jun 16 12:06:53 EDT 2011
Hello All,
I have submitted a patch for ticket #2959
(http://trac.osgeo.org/openlayers/ticket/2959). The ticket is related
to "instanceof Array" tests that fail when the array is passed from
another frame or iframe (such as those used by Google Web Toolkit).
The patch replaces the "x instanceof Array" tests with a new call to
OpenLayers.Util.isArray(x). The OpenLayers.Util.isArray() function
uses a test that should work across all frames. I also updated
Util.html with a test case for isArray().
Please consider this patch for review and inclusion in OpenLayers 2.11.
Thanks.
-Michael Wooten
More information about the Dev
mailing list