Comment 5 for bug 154608

Revision history for this message
Leonard Richardson (leonardr) wrote :

I don't think we can split out the forms like we did in 1348. The radio options and the text box are tied to the second button. Ideally the first button would be in a form by itself, but it's located between the first and second radio buttons, and you can't nest HTML forms.

I can think of a couple Javascript solutions. We can hack the text box's onKeyPress to prevent enter from submitting the form at all. I think we can hack it to submit the form with the second button.

Incidentally, I'm pretty sure form-submission-on-Enter is Mozilla-specific behavior.