Revision cf7a4f09
Added by NOYB NOYB over 9 years ago
src/usr/local/www/classes/Form/Button.class.php | ||
---|---|---|
64 | 64 |
} |
65 | 65 |
|
66 | 66 |
parent::__construct($name, $title, null); |
67 |
|
|
68 |
if (isset($link)) |
|
69 |
unset($this->_attributes['name']); |
|
67 | 70 |
} |
68 | 71 |
|
69 | 72 |
protected function _getInput() |
Also available in: Unified diff
HTML Compliance - Form Button - HRef
The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.
The <a> name attribute is not supported in HTML5. Use the id attribute instead.