]> source.dussan.org Git - jquery.git/commit
Fixed [1993] although it actually wasn't a bug in the core but rather a misunderstand...
authorDavid Serduke <davidserduke@gmail.com>
Mon, 3 Dec 2007 21:41:10 +0000 (21:41 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Mon, 3 Dec 2007 21:41:10 +0000 (21:41 +0000)
commit66fbbec3bb2d0555da55eea4abae0081484d37b4
tree04d136126b0ce033513d999b6034d8bea4ff148a
parenta73445bbc7a68c3bf3cae8cee23bb757295eaacb
Fixed [1993] although it actually wasn't a bug in the core but rather a misunderstanding of how the extra function was supposed to work in jQuery.event.trigger().  That said, it seems more useful and robust for the code to work the way the ticket author thought it should work so this change was made.

Now, if anything is returned from the extra function it will overwrite the return value of the event handlers.  This should only effect custom events unless someone had an extra function that returned a value other than false which would have been ignored before.
src/event.js
test/unit/event.js