mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8483 from open-sausages/pulls/4/666-fix-enter-form-submission
BUG: Fix `ENTER` not triggering form save button as `GridField`s used `submit` type buttons
This commit is contained in:
commit
b8bb4f7f4e
@ -101,6 +101,7 @@ class GridField_FormAction extends FormAction
|
||||
// will strip it from the requests
|
||||
'name' => 'action_gridFieldAlterAction' . '?' . http_build_query($actionData),
|
||||
'data-url' => $this->gridField->Link(),
|
||||
'type' => "button",
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user