Permalink
Browse files

MINOR Using ":submit" selector instead of ":button" in order to captu…

…re <input> tags as well
  • Loading branch information...
1 parent 25d0196 commit da577940142d565fe4fb1da3e2c341cb95655946 @chillu chillu committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/javascript/LeftAndMain.EditForm.js
@@ -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

0 comments on commit da57794

Please sign in to comment.