github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 684
    • 129
  • Source
  • Commits
  • Network (129)
  • Graphs
  • Tree: eb13c01

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (18)
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Changed comparison to highlight selected date, fixes #5676 (DatePicker Dialog 
defaultDate incorrect behaviour)
afcapel (author)
Sun Jun 13 04:00:04 -0700 2010
rdworth (committer)
Mon Jun 14 01:46:04 -0700 2010
commit  eb13c017228674d60cdb
tree    1cc03bbe829cd51516ac
parent  aa416fcfd9ba49ef2d84
M ui/jquery.ui.datepicker.js 2 ••
Txt ui/jquery.ui.datepicker.js
  • View file @ eb13c01
... ...
@@ -1491,7 +1491,7 @@ $.extend(Datepicker.prototype, {
1491 1491
               (otherMonth && !showOtherMonths ? ' ' : // display for other months
1492 1492
               (unselectable ? '<span class="ui-state-default">' + printDate.getDate() + '</span>' : '<a class="ui-state-default' +
1493 1493
               (printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +
1494  
-              (printDate.getTime() == currentDate.getTime() ? ' ui-state-active' : '') + // highlight selected day
  1494
+              (printDate.getTime() == selectedDate.getTime() ? ' ui-state-active' : '') + // highlight selected day
1495 1495
               (otherMonth ? ' ui-priority-secondary' : '') + // distinguish dates from other months
1496 1496
               '" href="#">' + printDate.getDate() + '</a>')) + '</td>'; // display selectable date
1497 1497
             printDate.setDate(printDate.getDate() + 1);

0 notes on commit eb13c01

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server