aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.datepicker.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-01 12:38:08 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-01 12:38:08 +0000
commit1443bea8b96590d213673e696b3742eacfd27085 (patch)
tree27c59956997d99adf2240efb989df5636b054216 /ui/ui.datepicker.js
parentfe7f1af38c1de8c516a89a5cbb71962b72f8a87e (diff)
downloadjquery-ui-1443bea8b96590d213673e696b3742eacfd27085.tar.gz
jquery-ui-1443bea8b96590d213673e696b3742eacfd27085.zip
reverted r1414 as it doesn't work in IE
Diffstat (limited to 'ui/ui.datepicker.js')
-rw-r--r--ui/ui.datepicker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js
index cb107f748..496cdada0 100644
--- a/ui/ui.datepicker.js
+++ b/ui/ui.datepicker.js
@@ -1383,7 +1383,7 @@ $.extend(Datepicker.prototype, {
' ' + this._currentClass : '') + // highlight selected day
(printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title
- (unselectable ? '' : ' onclick="event.preventDefault();jQuery.datepicker._selectDay(\'#' +
+ (unselectable ? '' : ' onclick="jQuery.datepicker._selectDay(\'#' +
inst.id + '\',' + drawMonth + ',' + drawYear + ', this);"') + '>' + // actions
(otherMonth ? (showOtherMonths ? printDate.getDate() : '&#xa0;') : // display for other months
(unselectable ? printDate.getDate() : '<a class="ui-state-default' +