BUGFIX SSF-53 : avoid to use ":submit" pseudo class in a jQuery selector

This commit is contained in:
Normann Lou 2012-03-09 15:40:24 +13:00 committed by Ingo Schommer
parent 4a6116b562
commit 18adfb0cff

View File

@ -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
*/