public
Description: A jQuery plugin version of the Low Pro behavior framework.
Homepage: http://lowprojs.org
Clone URL: git://github.com/danwrong/low-pro-for-jquery.git
Search Repo:
fixed more fixes for IE and support image buttons in Remote.Form
danwrong (author)
Tue Feb 05 07:19:27 -0800 2008
commit  c6b1b472f3d02f25bc1b5d6e983ee780361b3720
tree    4e301a9c12ebd21a44805ff074ded50f340f203f
parent  c0a50e167c96b1cdbebcb46ab27c186ebb15bc57
...
91
92
93
94
 
95
96
97
...
163
164
165
166
 
167
168
169
...
91
92
93
 
94
95
96
97
...
163
164
165
 
166
167
168
169
0
@@ -91,7 +91,7 @@
0
     return $.klass(behavior, {
0
       initialize: function($super, element, args) {
0
         this.element = $(element);
0
- $super.apply(this, args);
0
+ if ($super) $super.apply(this, args);
0
       }
0
     });
0
   }
0
@@ -163,7 +163,7 @@
0
     onclick: function(e) {
0
       var target = e.target;
0
       
0
- if ($.inArray(target.nodeName.toLowerCase(), ['input', 'button']) >= 0 && target.type == 'submit')
0
+ if ($.inArray(target.nodeName.toLowerCase(), ['input', 'button']) >= 0 && target.type.match(/submit|image/))
0
         this._submitButton = target;
0
     },
0
     onsubmit: function() {

Comments

    No one has commented yet.