r1190 - trunk/ui
r1190 - trunk/ui
Author: pazu2k@gmail.com
Date: Sat Dec 20 08:09:04 2008
New Revision: 1190
Modified:
trunk/ui/ui.datepicker.js
Log:
Datepicker: Fixes #3647: added correct class name to highlight selected day
Modified: trunk/ui/ui.datepicker.js
==============================================================================
--- trunk/ui/ui.datepicker.js (original)
+++ trunk/ui/ui.datepicker.js Sat Dec 20 08:09:04 2008
@@ -1484,7 +1484,7 @@
(unselectable ? printDate.getDate() : '<a class="ui-state-default' +
(printDate.getTime() == today.getTime() ? '
ui-state-highlight' : '') +
(printDate.getTime() >= currentDate.getTime() &&
printDate.getTime() <= endDate.getTime() ? // in current range
- ' ' + this._currentClass : '') + // highlight selected day
+ ' ui-state-active' : '') + // highlight selected day
'" href="#">' + printDate.getDate() + '</a>')) + '</td>'; //
display for this month
printDate.setDate(printDate.getDate() + 1);
printDate = this._daylightSavingAdjust(printDate);