[Prototype-core] Re: Possible bug : Form.seriaize() only serializes first submit button.

2009-03-02 Thread Richard Quadling
2009/2/27 Richard Quadling : > 2009/2/27 Mislav Marohnić : >> On Fri, Feb 27, 2009 at 17:18, Richard Quadling >> wrote: >>> >>> Firstly, Form.serialize only serializes the first input[type="submit"] >>> button. >> >> That is what browser does, too, when you press Enter while in a text input >> fi

[Prototype-core] Re: Possible bug : Form.seriaize() only serializes first submit button.

2009-02-27 Thread Richard Quadling
2009/2/27 Mislav Marohnić : > On Fri, Feb 27, 2009 at 17:18, Richard Quadling > wrote: >> >> Firstly, Form.serialize only serializes the first input[type="submit"] >> button. > > That is what browser does, too, when you press Enter while in a text input > field. >> >> Secondly, the pressed button

[Prototype-core] Re: Possible bug : Form.seriaize() only serializes first submit button.

2009-02-27 Thread Mislav Marohnić
On Fri, Feb 27, 2009 at 17:18, Richard Quadling wrote: > > Firstly, Form.serialize only serializes the first input[type="submit"] > button. That is what browser does, too, when you press Enter while in a text input field. Secondly, the pressed button (if one was pressed) should be serialized.