git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When binding a change directly to a file input just passthrough to the normal bind...
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
17d7673
..
c6a953b
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-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] );
}