diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-01 12:42:10 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-01 12:42:10 +0000 |
commit | bd58675f47cd6052d147f9a23141680cc1f8e23b (patch) | |
tree | e706448ef183b968f017f85c50ee59deab75739f /ui/ui.datepicker.js | |
parent | 1443bea8b96590d213673e696b3742eacfd27085 (diff) | |
download | jquery-ui-bd58675f47cd6052d147f9a23141680cc1f8e23b.tar.gz jquery-ui-bd58675f47cd6052d147f9a23141680cc1f8e23b.zip |
Re-fixed #3709 - Datepicker: clicking on a date causes the browser to follow '#' anchor
This time it works in IE
Diffstat (limited to 'ui/ui.datepicker.js')
-rw-r--r-- | ui/ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index 496cdada0..5fe786e61 100644 --- a/ui/ui.datepicker.js +++ b/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' : '') + |