While browse()ing HTML, Javascript can detect any keyCode except for Enter, which Javascript is usually able to do. (at least in IE6, IE8 and Chrome 10 , which I tested.)
Numbered Steps to Reproduce Problem:
1. Run following code. (replace "disabledkeydown" with "onkeydown". The tracker added it)
2. Focus on the input box.
3. Press keys and note that the keyCode is displayed.
4. Press Enter and note that nothing happens.
Code Snippet (if applicable) to Reproduce Problem:
/mob/Login()
{
..()
src << browse({"<input onkeydown="alert(event.keyCode)" />"})
}
Expected Results:
For Enter to show the alert box with "13".
Actual Results:
Nothing happens when Enter is used.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Yep.
In other user accounts? Not sure.
On other computers? Not sure.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? I tested in 479, same result.
Workarounds:
I'm not aware of a viable workaround.