When binding a change directly to a file input just passthrough to the normal bind. A temporary fix for #5997, needs more investigation.

This commit is contained in:
jeresig 2010-02-13 04:40:26 -05:00
parent c1ac9fdf45
commit 467063a2e2
2 changed files with 13 additions and 0 deletions

View 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] );
}