Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1.0.7
-
None
Description
When form contains Select component with default id ("select") it generate markup like
<select id="select" name="select">...</select>
When user clicks on LInkSubmit component on such form nothing happens.
// linksubmit.js
createHidden : function()
{
var hidden = new Element("input",
);
if (this.form.select("input#" + this.element.id + "-hidden").length == 0)
this.element.insert(
);
},
In this code this.form.select is a form control but not a function.