Permalink
Browse files

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

  • Loading branch information...
1 parent 4a6116b commit 18adfb0cff5fd9db00dc9ff3a57b4395ab1942b8 @normann normann committed with chillu Mar 9, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 admin/javascript/LeftAndMain.EditForm.js
@@ -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
*/

0 comments on commit 18adfb0

Please sign in to comment.