As the ticket suggests changing "window" to "document" is a step in this process, but there is a bit more involved to get it to work. The following code may not be ideal, but it has gotten around the issue so that my non-firefox users can successfully delete individual points from a polygon.<br>
<br>Handler/Keyboard.js<br><br> /**<br> * Method: handleKeyEvent<br> */<br> handleKeyEvent: function (evt) {<br> if (!evt.charCode) {<br> evt.charCode = 0;<br> }<br><br> // Non-Firefox Browser Hack for "d" key<br>
if ((!evt.charCode) && (evt.keyCode == 68)<br> && evt.type == 'keydown'<br> && navigator.appVersion.match(/Konqueror|Safari|KHTML|MSIE/)) {<br> evt.keyCode = 0;<br>
evt.charCode = 100;<br> }<br><br> if (this.checkModifiers(evt)) {<br> // Non-Firefox browsers (Internet Explodinator, Safari, Opera) do not support keypress events<br> if (evt.type == 'keydown'<br>
&& navigator.appVersion.match(/Konqueror|Safari|KHTML|MSIE/)) {<br> this.callback('keypress', [evt.charCode || evt.keyCode]);<br> } else {<br> this.callback(evt.type, [evt.charCode || evt.keyCode]);<br>
}<br> }<br> },<br><br clear="all"><br>-- <br>--<br>Nathan Gerber<br>Web Developer<br>ZedX, Inc.<br>