[mapguide-trac] #353: Digitizing fails in IE with 2.0 Beta

MapGuide Open Source trac_mapguide at osgeo.org
Mon Dec 3 03:46:18 EST 2007


#353: Digitizing fails in IE with 2.0 Beta
---------------------------+------------------------------------------------
   Reporter:  ksgeograf    |       Owner:                                         
       Type:  defect       |      Status:  new                                    
   Priority:  medium       |   Milestone:  2.0                                    
  Component:  AJAX Viewer  |     Version:  2.0.0                                  
   Severity:  trivial      |    Keywords:  digitize KeyTarget type=hidden digitize
External_id:               |  
---------------------------+------------------------------------------------
 The call:
 {{{
 document.getElementById("KeyTarget").focus();
 }}}
 fails in IE because the KeyTarget element is declared with type=hidden.
 It is not possible to focus a hidden element in IE.

 The fix is simple, change line 3656 in ajaxmappane from:
 {{{
 <input id="KeyTarget" type="hidden" onKeyDown="return KeyPressed(event);"
 style="position: absolute; left: 0px; right: 0px; width: 0px; height: 0px"
 >
 }}}
 to:
 {{{
 <input id="KeyTarget" onKeyDown="return KeyPressed(event);"
 style="position: absolute; left: 0px; right: 0px; width: 0px; height: 0px;
 z-index: 0;" >
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/353>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list