mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Allow <button type='submit'> for the benifit of IE<=7
This commit is contained in:
parent
e53280c650
commit
775567d427
@ -78,7 +78,6 @@ class FormAction extends FormField {
|
||||
|
||||
public function getAttributes() {
|
||||
$type = (isset($this->attributes['src'])) ? 'image' : 'submit';
|
||||
$type = ($this->useButtonTag) ? null : $type;
|
||||
|
||||
return array_merge(
|
||||
parent::getAttributes(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user