aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'eventprops.1.6final' of https://github.com/rwldrn/jquery into ↵jeresig2011-04-101-4/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rwldrn-eventprops.1.6final Conflicts: test/unit/event.js
| * | | | | Remove this.type assignmentrwldrn2011-04-051-4/+0
| | | | | |
| * | | | | Move this.type setting to after prop set; avoid setting twicerwldrn2011-04-051-1/+4
| | | | | |
| * | | | | Ticket #8753 Allow special properties to explicitly defined on jQuery.Event ↵rwldrn2011-04-051-3/+14
| | |_|/ / | |/| | | | | | | | | | | | | objects
* | | | | Fixes #8722. Remove try/catch used by #3533 to fix the IE Table Colon Blow ↵Dave Methvin2011-04-071-13/+13
| |_|_|/ |/| | | | | | | | | | | bug, and instead check for colon in the event name. Thanks to daguej for scoping this out -- a colonoscopy you might say.
* | | | Fix #8732. Change feature detect for focusin event support, so IE9 won't ↵Dave Methvin2011-04-061-1/+1
| | | | | | | | | | | | | | | | have duplicate events.
* | | | Fixes #8712. Bubble custom events to the window when they are triggered. ↵Dave Methvin2011-04-061-1/+2
| | | | | | | | | | | | | | | | Ride that, Cowboy!
* | | | Fix some spacing and comment issues that crept in with the rebase.Dave Methvin2011-04-061-61/+60
| | | |
* | | | Sadly, we still have to bubble the event so inline handlers will work.Dave Methvin2011-04-061-5/+4
| | | |
* | | | Only bubble a triggered event if we have attached a jQuery handler, but ↵Dave Methvin2011-04-061-27/+30
| | | | | | | | | | | | | | | | check the current element for an inline handler regardless. Make some other size optimizations as well.
* | | | Switch from recursion to iteration for event triggering. Move event-name ↵Dave Methvin2011-04-061-70/+52
| | | | | | | | | | | | | | | | namespace processing out of event handler, since it has to always go through trigger.
* | | | Shorten up the code and do event cleanup on test cases.Dave Methvin2011-04-051-8/+3
| | | |
* | | | Merge branch 'ticket_7883' of https://github.com/rwldrn/jquery into ↵Dave Methvin2011-04-051-1/+6
|\ \ \ \ | |/ / / |/| | | | | | | rwldrn-ticket_7883
| * | | #7883 .delegate and .live should accept false as the fn arg, like bindrwldrn2011-01-011-1/+6
| | | |
* | | | Merge branch 'fix-8456-lost-mouseenter' of ↵jeresig2011-03-211-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | https://github.com/dmethvin/jquery into dmethvin-fix-8456-lost-mouseenter
| * | | | Fixes #8456. Make sure parent is not null before crawling into its lap, so ↵Dave Methvin2011-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | mouseenter is triggered on a mouseover event.
* | | | | Fixes #7340. Use a single capturing handler to simulate bubbling ↵Dave Methvin2011-03-041-9/+23
|/ / / / | | | | | | | | | | | | focusin/focusout event on non-IE browsers. Allow native DOM methods to fire events other than the currently active one back into jQuery.
* | | | Bug #6911 - Prevent action on disabled elements, both triggering and bound ↵Dan Heberden2011-02-181-1/+1
| | | | | | | | | | | | | | | | via .live()
* | | | A temporary workaround for #8018 that avoids any chance of ↵Alex Sexton2011-02-171-4/+9
| | | | | | | | | | | | | | | | compatibility-breaking changes until a proper fix can be landed in 1.6.
* | | | Fix some whitespace issues.Anton M2011-02-151-1/+1
| | | |
* | | | Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so ↵Dave Methvin2011-02-151-9/+17
| | | | | | | | | | | | | | | | that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
* | | | Make sure that mousing over Chrome "internal div" doesn't trigger a ↵Anton M2011-02-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mouseleave. Fixes #8209. Follow up to https://github.com/jquery/jquery/commit/4a828c93d40eb67b2041b08bbed0f1973442bd03 which was stupid and got reversed.
* | | | Revert "Make sure that mousing over Chrome "internal div" elements results ↵Anton M2011-02-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | in no trigger of a mouseleave." This reverts commit 4a828c93d40eb67b2041b08bbed0f1973442bd03.
* | | | Make sure that mousing over Chrome "internal div" elements results in no ↵Anton M2011-02-081-1/+3
| | | | | | | | | | | | | | | | trigger of a mouseleave. Fixes #8209.
* | | | Update $.data to use a function instead of an object when attaching to JS ↵Colin Snover2011-02-071-44/+12
| |_|/ |/| | | | | | | | objects in order to hide attached metadata from JSON.stringify. Remove event.js code that was doing this before specifically for events, which is now redundant. Fixes #8108. 1.5-stable
* | | Revert "Make sure that focusin/focusout bubbles in non-IE browsers." This ↵jeresig2011-01-211-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was causing problems with the focusin event, see: #7340. This reverts commit 88068f82c199847d3679b130664dd91cc2e89f00. Conflicts: src/event.js test/unit/event.js
* | | Merge in data_nocollide branch. Fixes #6968, improves unit testing framework ↵Colin Snover2011-01-171-21/+25
|\ \ \ | | | | | | | | | | | | checks for leaky stuff.
| * | | Change the way jQuery.data works so that there is no longer a chance of ↵Colin Snover2011-01-091-21/+25
| |/ / | | | | | | | | | collision between user data and internal data. Fixes #6968.
* | | Merging pull request 183 for #7793.jeresig2011-01-171-1/+1
|\ \ \ | |/ / |/| |
| * | Simplify the check for isDefaultPrevented.Dave Methvin2010-12-241-4/+2
| | |
| * | When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-231-0/+6
| |/ | | | | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* | Merge branch 'fix7762' into jquery master. Fixes #7762.Colin Snover2010-12-301-43/+26
|\ \
| * | Clearing event handlers on unload is no longer necessary in any version of ↵Colin Snover2010-12-261-17/+0
| | | | | | | | | | | | IE. This issue causing memory leaks between pages was fixed in MS07-033.
| * | Fix whitespace in event.jsColin Snover2010-12-261-26/+26
| |/
* / When a native browser event is bubbling up the DOM, make sure that the ↵Dave Methvin2010-12-271-0/+6
|/ | | | correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
* Merge branch 't6398' of https://github.com/jitter/jquery into jitter-t6398John Resig2010-12-061-1/+1
|\
| * Make sure custom events named "submit" can be bound to non DOM elements in ↵Anton M2010-11-211-1/+1
| | | | | | | | IE too. Fixes 6398.
* | Fix for #6911 - prevent disabled elements in liveHandlerdanheberden2010-11-211-2/+2
|/
* Make sure that when multiple variables are being declared that assignments ↵John Resig2010-11-091-9/+19
| | | | are each done on their own line.
* We don't do end of line comments, move them above.John Resig2010-11-091-2/+3
|
* Temporarily backing out commit bd474799bf95f4ecdc47a7577750eaf69e2236d4.John Resig2010-10-251-5/+0
|
* Prevent IE from firing live/delegate events on disabled elements. (#6911)danheberden2010-10-251-0/+5
|
* Honor stopImmediatePropagation for live/delegate event handlers. Fixes #7217.dmethvin2010-10-251-0/+3
|
* Fixes #7229 and #5803rwldrn2010-10-241-0/+3
|
* beforedeactivate will fire before focusout - use that to our advantage when ↵Justin Meyer2010-10-131-0/+2
| | | | working with the change event.
* Make sure that focusin/focusout bubbles in non-IE browsers.Justin Meyer2010-10-131-4/+9
|
* Fix patch for #7150, which was not deleting the events object properly on ↵Colin Snover2010-10-121-2/+2
| | | | plain JS objects. Thanks to jitter for catching it.
* Use a key name less likely to result in collisions for events on plain JS ↵Colin Snover2010-10-111-7/+11
| | | | objects. Fixes bug #7150.
* Handle some edge cases with binding events to the window object (which is ↵John Resig2010-10-111-2/+2
| | | | also a plain object - causing some confusion). Fixes #7143.
* Make sure that the unload event doesn't leak in IE - use jQuery's binding ↵jeresig2010-10-101-1/+1
| | | | mechanism to make that happen.