Opened 12 years ago
Closed 10 years ago
#5728 closed bug (invalid)
IE7/8 Datepicker returns you to the top of a page
Reported by: | ajacksified | Owned by: | ajacksified |
---|---|---|---|
Priority: | major | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have a datepicker in a dialog, and if I'm scrolled down in the window, open that dialog, and pick a date in IE7 and 8, I am returned to the top of the screen (the url being current + "#").
I can fix this by running:
$(".ui-datepicker-calendar a").live("click",function(event){ event.preventDefault(); })
I would suggest the datepicker date links preventDefault by default.
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 10 years ago by
Milestone: | TBD → 1.11.0 |
---|
comment:3 Changed 10 years ago by
Owner: | set to ajacksified |
---|---|
Status: | new → pending |
Hi, thanks for contributing! I know it's a verrrry long time ago, but I'm fairly sure this bug is no longer happening. If I'm wrong, could you please reply to this ticket and let me know?
Thanks again!
comment:4 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
I've create a patch for the issue
http://github.com/Lisaj/jquery-ui/commit/ecb0de8463147c599e37f32b4596152af24b58d4