aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Change event did not fire in IE when an explicit .focus() was used. Fixes #6374.jeresig2010-10-091-1/+4
|
* Fix the case where live change was breaking if a live click was bound ahead ↵jeresig2010-10-091-0/+1
| | | | of time. Very similar to #6359. Fixes #6505.
* Set event.LiveFired to undefined in specialSubmit handler so that click ↵David Petersen2010-09-301-0/+2
| | | | events bound before the submit won't prevent the submit to fire. Fixes #6359
* Using data() on JavaScript objects sets fields directly on the object. Note ↵Dave Reed2010-09-291-3/+40
| | | | that events are now a property of a function (to avoid JSON serialization - and only in the case of JavaScript objects, not DOM nodes). Fixes #6807.
* Fix mis-type in commit e3c4e5789743eecb3cbe2b626f3a5f09c616ee4b. Thanks to ↵John Resig2010-09-281-1/+1
| | | | @jdalton for the catch.
* Tweak the logic for fixing event.which. Fixes #2338.John Resig2010-09-281-2/+2
|
* If an inline handler returns false, call event.preventDefault(). Fixes #6337.Dave Methvin2010-09-241-0/+1
|
* Don't copy event.originalTarget, it's a Netscape-specific property. Fixes #2814.dmethvin2010-09-241-1/+1
|
* Added support for map of events in live, die, delegate and undelegate. Fixes ↵Robert Katic2010-09-231-0/+8
| | | | #6282.
* Fix missing var. Thanks to @jeff-themovie for the catch.jeresig2010-09-221-1/+1
|
* Unify the means of detecting a window across the library. Fixes jQuery UI ↵jeresig2010-09-221-2/+2
| | | | bug #5438 and jQuery bugs #6575 and 6088.
* Applied the RegExp issues reported by Jeff Robinson here: ↵jeresig2010-09-221-11/+11
| | | | http://jmrware.com/articles/2010/jqueryregex/jQueryRegexes.html Additionally broke out all remaining inline RegExp. Fixes #7062.
* No need to set returnValue if preventDefault exists. Thanks kangax for the ↵jeresig2010-09-201-2/+4
| | | | catch.
* Make sure that the removeEvent and buildFragment private functions are ↵jeresig2010-09-081-2/+2
| | | | exposed (to help with access across modules). The final API for each of these is very much in flux and will likely change before the final release. Fixes #7011.
* Make sure that jQuery works even when the individual modules are loaded ↵jeresig2010-09-081-0/+4
| | | | separately AND jQuery.noConflict(true) is used. Fixes #7011.
* Expose jQuery.uuid (use with caution) and make sure the expando property is ↵John Resig2010-04-241-3/+3
| | | | used in the events module.
* Made it so that you no longer need to build jQuery in order to run the test ↵jeresig2010-03-231-1/+1
| | | | suite (but you'll still need a checkout of QUnit and Sizzle, at least).
* Make sure that special remove and teardown events get called when .die() is ↵jeresig2010-03-091-28/+20
| | | | used. Additionally made sure that default actions are triggered when namespaced events are used. Fixes #6202 and #6250.
* Added in Ben Alman's proposed event.namespace property (the property holds ↵jeresig2010-03-021-5/+11
| | | | the namespaces specified in a call to trigger). Additionally fixes namespaces with .live(). Fixes #6208 and #6209.
* More changes to get jQuery in line with JSLint.jeresig2010-03-011-9/+9
|
* Land some additional tweaks related to running through JSLint.jeresig2010-03-011-1/+1
|
* Made some code tweaks related to running jQuery through JSLint (thanks to ↵jeresig2010-03-011-5/+5
| | | | Lorin Larson for the JSLint run).
* No reason to double-bind the beforeunload event. Fixes #6113.jeresig2010-02-271-2/+1
|
* Merge branch 'master' of github.com:jquery/jqueryjeresig2010-02-271-1/+2
|\
| * Make sure events exist before trying to access them in jQuery.event.handle ↵brandonaaron2010-02-271-1/+2
| | | | | | | | and removed unnecessary var statement. Fixes #6163.