Opened 10 years ago

Closed 7 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:2 Changed 7 years ago by Scott González

Milestone: TBD1.11.0

comment:3 Changed 7 years ago by mikesherov

Owner: set to ajacksified
Status: newpending

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 7 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.