Side navigation
#6113 closed bug (fixed)
Opened February 17, 2010 10:29PM UTC
Closed February 27, 2010 03:04PM UTC
beforeunload event fires twice
| Reported by: | SidneySM | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | event | Version: | 1.4.2 | 
| Keywords: | beforeunload, onbeforeunload, event, bind, special | Cc: | |
| Blocked by: | Blocking: | 
Description
beforeunload event handlers on window are firing twice: once for onbeforeunload assigned in the event's setup, once for addEventListener.
It's also worth noting that WebKit does now support a return value from beforeunload bound with addEventListener.
Attachments (1)
Change History (1)
Changed February 27, 2010 03:04PM UTC by comment:1
| milestone: | 1.4.2 → 1.4.3 | 
|---|---|
| resolution: | → fixed | 
| status: | new → closed | 
| version: | 1.4.1 → 1.4.2 | 
Fixed.
http://github.com/jquery/jquery/commit/36faab439a1d3a5471847e952d0019e8e4e9b982