IDs for hidden input fields
This commit is contained in:
parent
39a44c7991
commit
778e38f422
|
@ -2290,7 +2290,7 @@ class htmlHiddenInput extends htmlElement {
|
||||||
* @return array List of input field names and their type (name => type)
|
* @return array List of input field names and their type (name => type)
|
||||||
*/
|
*/
|
||||||
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
function generateHTML($module, $input, $values, $restricted, &$tabindex, $scope) {
|
||||||
echo '<input type="hidden" name="' . $this->name . '" value="' . $this->value . '">';
|
echo '<input type="hidden" name="' . $this->name . '" id="' . $this->name . '" value="' . $this->value . '">';
|
||||||
return array($this->name => 'hidden');
|
return array($this->name => 'hidden');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue