[OpenLayers-Trac] [OpenLayers] #3610: WMS Post fails IE9 iframe creating error

OpenLayers trac-20090302 at openlayers.org
Sat Jan 21 03:41:19 EST 2012


#3610: WMS Post fails IE9 iframe creating error
------------------------+---------------------------------------------------
 Reporter:  PeaceNlove  |       Owner:              
     Type:  bug         |      Status:  new         
 Priority:  major       |   Milestone:  2.12 Release
Component:  general     |     Version:  2.11        
 Keywords:  IE9         |       State:              
------------------------+---------------------------------------------------
 When using POST on a WMS, a iframe is created for the images.
 In IE9 it goes wrong here:
 if(OpenLayers.BROWSER_NAME=="msie"){iframe=document.createElement('<iframe
 name="'+id+'">')
 Apparently, IE9 wants the iframe created like the other browsers do and
 using this code I get a DOM Exception: INVALID_CHARACTER_ERR (5)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3610>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list