r1451 - trunk/ui
r1451 - trunk/ui
Author: rdworth
Date: Thu Jan 1 04:42:10 2009
New Revision: 1451
Modified:
trunk/ui/ui.datepicker.js
Log:
Re-fixed #3709 - Datepicker: clicking on a date causes the browser to
follow '#' anchor
This time it works in IE
Modified: trunk/ui/ui.datepicker.js
==============================================================================
--- trunk/ui/ui.datepicker.js (original)
+++ trunk/ui/ui.datepicker.js Thu Jan 1 04:42:10 2009
@@ -1384,7 +1384,7 @@
(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' : '') +