r1450 - trunk/ui

r1450 - trunk/ui


Author: rdworth
Date: Thu Jan 1 04:38:08 2009
New Revision: 1450
Modified:
trunk/ui/ui.datepicker.js
Log:
reverted r1414 as it doesn't work in IE
Modified: trunk/ui/ui.datepicker.js
==============================================================================
--- trunk/ui/ui.datepicker.js    (original)
+++ trunk/ui/ui.datepicker.js    Thu Jan 1 04:38:08 2009
@@ -1383,7 +1383,7 @@
                            ' ' + 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() : ' ') :
// display for other months
                            (unselectable ? printDate.getDate() : '<a class="ui-state-default' +