Ticket #3228 (closed bug: fixed)
Slider fire beforeunload event
| Reported by: | Cloudream | Owned by: | paul |
|---|---|---|---|
| Priority: | major | Milestone: | 1.6rc2 |
| Component: | ui.slider | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
$(window).bind("beforeunload",function(){alert("fired");}); $("#slider").slider();
move handle will fire beforeunload in IE7
Change History
comment:2 Changed 5 years ago by paul
- Status changed from new to closed
- Resolution set to fixed
Fixed in r688.
comment:3 Changed 5 years ago by Cloudream
- Status changed from closed to reopened
- Resolution fixed deleted
- Milestone changed from TBD to 1.6
I think it should be
.bind('click', function(e) { e.preventDefault(); })
but not
.bind('click', function() { return false; })
jQuery core fixes this event cross browsers.
Note: See
TracTickets for help on using
tickets.


href="javascript:void(0)" in handle cause this problem.