mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX SSF-53 : avoid to use ":submit" pseudo class in a jQuery selector
This commit is contained in:
parent
4a6116b562
commit
18adfb0cff
@ -174,8 +174,7 @@
|
||||
* We need this onclick overloading because we can't get to the
|
||||
* clicked button from a form.onsubmit event.
|
||||
*/
|
||||
$('.cms-edit-form .Actions :submit').entwine({
|
||||
|
||||
$('.cms-edit-form .Actions input.action[type=submit], .cms-edit-form .Actions button.action').entwine({
|
||||
/**
|
||||
* Function: onclick
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user