Skip to content

Commit

Permalink
BUGFIX SSF-53 : avoid to use ":submit" pseudo class in a jQuery selector
Browse files Browse the repository at this point in the history
  • Loading branch information
normann authored and chillu committed Mar 12, 2012
1 parent 4a6116b commit 18adfb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin/javascript/LeftAndMain.EditForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 18adfb0

Please sign in to comment.