mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUG: Fix ENTER
not triggering form save button as GridField
s used submit
type buttons
This commit is contained in:
parent
7915fe0c0f
commit
a6a1743997
@ -101,6 +101,7 @@ class GridField_FormAction extends FormAction
|
|||||||
// will strip it from the requests
|
// will strip it from the requests
|
||||||
'name' => 'action_gridFieldAlterAction' . '?' . http_build_query($actionData),
|
'name' => 'action_gridFieldAlterAction' . '?' . http_build_query($actionData),
|
||||||
'data-url' => $this->gridField->Link(),
|
'data-url' => $this->gridField->Link(),
|
||||||
|
'type' => "button",
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user