Bug with change delegation
There is a bug if you are delegating for click and change on the same element. If the click liveHandler runs before the change liveHandler, the change liveHandler event will never be fired.
The FIX
Line 2297 of the nightly build (the testChange function that tests if a change has happened) looks like:
- if ( data != null || val ) {
- e.type = "change";
- return jQuery.event.trigger( e, arguments[1], elem );
- }
it should be changed to:
- if ( data != null || val ) {
- e.type = "change";
- e.liveFired = null;
- return jQuery.event.trigger( e, arguments[1], elem );
- }
This will prevent previously set lifeFired events from blocking new change events.