Skip to content
Permalink
Browse files

Re-fixed #3709 - Datepicker: clicking on a date causes the browser to…

… follow '#' anchor

This time it works in IE
  • Loading branch information
rdworth committed Jan 1, 2009
1 parent 1443bea commit bd58675f47cd6052d147f9a23141680cc1f8e23b
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.datepicker.js
@@ -1384,7 +1384,7 @@ $.extend(Datepicker.prototype, {
(printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title
(unselectable ? '' : ' onclick="jQuery.datepicker._selectDay(\'#' +
inst.id + '\',' + drawMonth + ',' + drawYear + ', this);"') + '>' + // actions
inst.id + '\',' + drawMonth + ',' + drawYear + ', this);return false;"') + '>' + // actions
(otherMonth ? (showOtherMonths ? printDate.getDate() : ' ') : // display for other months
(unselectable ? printDate.getDate() : '<a class="ui-state-default' +
(printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +

0 comments on commit bd58675

Please sign in to comment.
You can’t perform that action at this time.