mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Using ":submit" selector instead of ":button" in order to capture <input> tags as well
This commit is contained in:
parent
25d0196b04
commit
da57794014
@ -172,7 +172,7 @@
|
|||||||
* We need this onclick overloading because we can't get to the
|
* We need this onclick overloading because we can't get to the
|
||||||
* clicked button from a form.onsubmit event.
|
* clicked button from a form.onsubmit event.
|
||||||
*/
|
*/
|
||||||
$('.cms-edit-form .Actions :button').entwine({
|
$('.cms-edit-form .Actions :submit').entwine({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function: onclick
|
* Function: onclick
|
||||||
|
Loading…
x
Reference in New Issue
Block a user