MINOR Using ":submit" selector instead of ":button" in order to capture <input> tags as well

This commit is contained in:
Ingo Schommer 2012-02-28 15:57:09 +01:00
parent 25d0196b04
commit da57794014

View File

@ -172,7 +172,7 @@
* We need this onclick overloading because we can't get to the
* clicked button from a form.onsubmit event.
*/
$('.cms-edit-form .Actions :button').entwine({
$('.cms-edit-form .Actions :submit').entwine({
/**
* Function: onclick