From bd58675f47cd6052d147f9a23141680cc1f8e23b Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Thu, 1 Jan 2009 12:42:10 +0000 Subject: [PATCH] Re-fixed #3709 - Datepicker: clicking on a date causes the browser to follow '#' anchor This time it works in IE --- ui/ui.datepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() : '