Search and Top Navigation
#3228 closed bug (fixed)
Opened August 18, 2008 10:06PM UTC
Closed September 19, 2008 09:20AM UTC
Last modified November 19, 2008 04:36AM UTC
Slider fire beforeunload event
| Reported by: | Cloudream | Owned by: | paul |
|---|---|---|---|
| Priority: | major | Milestone: | 1.6rc2 |
| Component: | ui.slider | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
$(window).bind("beforeunload",function(){alert("fired");});
$("#slider").slider();
move handle will fire beforeunload in IE7
Attachments (0)
Change History (5)
Changed August 18, 2008 10:09PM UTC by comment:1
Changed September 18, 2008 09:30AM UTC by comment:2
| resolution: | → fixed |
|---|---|
| status: | new → closed |
Fixed in r688.
Changed September 18, 2008 01:07PM UTC by comment:3
| milestone: | TBD → 1.6 |
|---|---|
| resolution: | fixed |
| status: | closed → reopened |
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.
Changed September 19, 2008 09:20AM UTC by comment:4
| resolution: | → fixed |
|---|---|
| status: | reopened → closed |
Good idea, fixed
Changed November 19, 2008 04:36AM UTC by comment:5
| milestone: | 1.6 → 1.6rc2 |
|---|
href="javascript:void(0)" in handle cause this problem.