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:
parent
c1ac9fdf45
commit
467063a2e2
2 changed files with 13 additions and 0 deletions
|
@ -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] );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue