When binding a change directly to a file input just passthrough to the normal bind...
[jquery.git] / src / event.js
index 17d7673..c6a953b 100644 (file)
@@ -769,6 +769,10 @@ if ( !jQuery.support.changeBubbles ) {
                },
 
                setup: function( data, namespaces ) {
+                       if ( this.type === "file" ) {
+                               return false;
+                       }
+
                        for ( var type in changeFilters ) {
                                jQuery.event.add( this, type + ".specialChange", changeFilters[type] );
                        }