Ticket #353 (closed defect: fixed)
Digitizing fails in IE with 2.0 Beta
| Reported by: | ksgeograf | Owned by: | chrisclaydon |
|---|---|---|---|
| Priority: | medium | Milestone: | 2.0 |
| Component: | AJAX Viewer | Version: | 2.0.0 |
| Severity: | trivial | Keywords: | digitize KeyTarget type=hidden digitize |
| Cc: | External ID: | 1036905 |
Description
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;" >
Change History
Note: See
TracTickets for help on using
tickets.
