Commit Graph

58 Commits

Author SHA1 Message Date
Scott González
a8fc3da628 Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows only single year in year dropdown if numberOfMonths > 1.
(cherry picked from commit 98c53d8432)
2011-04-04 07:56:52 -04:00
Scott González
2b4a902e00 Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
(cherry picked from commit 6d01645716)
2011-03-18 08:27:46 -04:00
Adam Parod
12d38b1886 Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.
(cherry picked from commit 74b7c3f684)
2011-03-07 09:35:40 -05:00
Scott González
9162679e15 Datepicker: Account for daylight saving when calculating number of days in a month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only.
Thanks jomyjohn
(cherry picked from commit c44818fcca)
2011-02-16 13:16:00 -05:00
Dan Heberden
ab7a5b441a Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object
(cherry picked from commit 5c3dc7d48a)
2011-02-15 13:27:18 -05:00
Scott González
cf9dac6c17 Datepicker: Properly handle datepickers attached to inputs that are hidden using CSS. Fixes #6988 - Datepicker: Treat all hidden text fields the same.
(cherry picked from commit 6fbee255d8d895c7e84a4b2eaad2cfadc8a3425a)
2011-02-15 08:38:27 -05:00
Tobias Brunner
d14366abce Datepicker: only set the focus explicitly if it is not already on the target field. Fixed #6694 – datepicker does not fire change event in IE8
jQuery stores the current content of a field whenever it gets the focus. Since the fixed function is also called for KeyUp events the change event is not triggered anymore when the input looses focus.
(cherry picked from commit 39cf7d5bb4)
2011-02-03 08:52:27 -05:00
Ivan Peters
015ea163d1 Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872: parseDate does not default shortYearCutoff correctly. 2011-01-18 00:42:25 -05:00
Scott González
83fca58d1c Updated copyright year. 2011-01-17 09:36:00 -05:00
dblood
51695f82c8 Datepicker: enabled OSX meta keys to work when constraining input. Fixed #5317 - datepicker cmd+a/c/v is not working on MAC OS-X 2010-12-03 08:44:34 -05:00
pheiberg
98f7e6a8d6 Datepicker: made it possible to select a date in the selected month using enter. Fixes #5527 - Datepicker: Problem selecting the date with keyboard shorcuts 2010-11-30 17:46:53 -05:00
Scott González
9ade71071a Datepicker: Proper handling of empty strings for dates. 2010-11-22 12:59:57 -05:00
Scott González
7b523c2ec1 Datepicker: Handle clearing the date inside _setDate() as early as possible. Fixes #6684 - Datepicker: setDate() should accept an empty string.
Thanks RobinHerbots.
2010-11-22 11:46:36 -05:00
Scott González
a4d54b4d77 Datepicker: Don't use ui-helper-hidden-accessible for initial hiding. 2010-11-22 11:40:11 -05:00
pheiberg
d69f2ecb12 Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument 2010-11-22 08:29:29 -05:00
pheiberg
a2e0eb920a Datepicker: Fixed parsing of single y character for date formats. Fixes #6659 - Datepicker: Date format ymmdd not parsed correctly. 2010-11-18 16:13:28 -05:00
Scott González
7832fd8e9c Datepicker: Avoid flash during render in Firefox. Fixes #5493 - Datepicker: changeYear + yearRange causes flash in Firefox.
Thanks israelrios.
2010-11-05 10:25:06 -04:00
m157y
66346d04bf Datepicker: fixed problem on ids with. Fixed #6154 – Datepicker brokes handler ids with dashes 2010-10-06 08:37:25 -04:00
Lim Chee Aun
a936eb3c09 Datepicker: Hightlight the curerent date, not the selected date. Fixes #5984 - Datepicker showing multiple months highlights selected day in all of them 2010-09-20 09:49:11 -04:00
AndrewNewcomb
590e03cc32 datepicker: changed parseDate to be case insensitive. Fixed #6036 - datepicker: parseDate is case sensitive. 2010-09-09 21:54:24 +08:00
Richard D. Worth
85b8816fa9 Datepicker: use a setTimeout 0 so the same code can run in IE (as other browsers) to set focus back to the datepicker text input if a month or year drop-down is clicked closed. Fixes #5897 - Datepicker: inconsistent behavior in IE when click to close month and year drop-downs 2010-08-04 02:39:54 -07:00
Scott González
8a5d4ca321 All: Added http://jqueryui.com/about to header comments. 2010-07-14 15:45:45 -04:00
Scott González
21aad10e6a All: Define a local undefined variable inside the main closure. 2010-07-13 09:57:58 -04:00
Scott González
536ae6189b Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 09:01:04 -04:00
Scott González
3c18cf3b97 Whitespace 2010-07-07 09:51:42 -04:00
Alberto Fernández Capel
eb13c01722 Changed comparison to highlight selected date, fixes #5676 (DatePicker Dialog defaultDate incorrect behaviour) 2010-06-14 16:46:04 +08:00
Paul Irish
dc646c01fe Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn 2010-05-13 01:18:55 +08:00
Richard D. Worth
0ad5ac7382 Datepicker: avoid ambiguous + ++ in min file. Partial fix for #5576 - invalid increment operand 2010-05-04 23:11:06 -04:00
Scott González
c91e1cc86a Datepicker: Handle empty string for animation duration.
Fixes #5259 - DatePicker will not ever close.
2010-03-03 01:31:04 +00:00
Ca-Phun Ung
5eeaa658ba datepicker: fixes #4443: Datepicker's vertical position in thickbox. This also fixes the virtual position when the datepicker is close but not right at the bottom of the page. 2010-02-09 04:09:26 +00:00
Keith Wood
573a402d05 Datepicker: Separate month and year unless both are drop-downs 2010-02-06 23:14:40 +00:00
Keith Wood
c16ed70b68 Datepicker: Fixed #5128 Datepicker opens when setDate called 2010-02-06 23:07:00 +00:00
Jörn Zaefferer
288f3a6bef cleaning up dependency listings 2010-02-03 23:19:48 +00:00
Brant Burnett
d549ba6d43 Datepicker: No longer dependent on dialog in order to close datepicker when dialog is closed (Refixed #4453 UI Datepicker inside UI Dialog Issue) 2010-02-01 20:59:24 +00:00
Brant Burnett
bae22fb74a Datepicker: Now uses zIndex() to determine zIndex for dpDiv on show (Fixed #4580 Datepicker appears underneath other widgets) 2010-02-01 20:12:54 +00:00
Brant Burnett
5b61537e6e Datepicker: Fixed #4453 UI Datepicker inside UI Dialog Issue 2010-02-01 16:10:41 +00:00
Keith Wood
f214b70889 Datepicker: Fixed conflict between beforeShowDay and getDate
http://forum.jquery.com/topic/several-breaking-changes-in-jquery-ui-1-8rc1
2010-01-29 08:09:03 +00:00
Keith Wood
c3dd4ac373 Datepicker: Fixed #5052 Set focus error in IE8 for disabled and hidden elements 2010-01-25 08:20:28 +00:00
Keith Wood
4e81523227 Datepicker: Fixed #5085 bug in findPos for RTL languages 2010-01-22 10:10:17 +00:00
Scott González
ee87defcca Datepicker: Use null instead of empty string when showing/hiding without a duration.
Fixes #5086 - no animation still animates.
2010-01-22 04:13:36 +00:00
Richard Worth
074153407d Happy New Year 2010-01-20 14:04:26 +00:00
Keith Wood
7f5fe2f2f1 Datepicker: Fixed #5026 Comparison between 2 date 2010-01-13 08:42:53 +00:00
Keith Wood
07a4a228c0 Datepicker: Fixed #4869 Datepicker undesired today date on field & appendText 2010-01-13 08:26:46 +00:00
Keith Wood
c14e958966 Datepicker: Fixed #4804 onChangeMonthYear fires at first run 2010-01-10 04:54:12 +00:00
Keith Wood
6047f99ec4 Datepicker: Fixed #5022 numberOfMonths with one column multiple rows doesn't display the next button 2010-01-10 04:45:03 +00:00
Scott González
90fb45dffa Merged in /branches/dev r3251:3620 (excluding autocomplete, modal, tooltip, menu; including menu static tests). 2010-01-07 03:19:50 +00:00
Scott González
06e29401b8 Split mouse into its own file and udpdated dependency lists.
Fixes #5023 - Split mouse code into its own file.
2009-12-22 19:51:24 +00:00
Keith Wood
7c9b782ee1 Datepicker: Corrected automatic parsing of date on keystrokes 2009-12-15 04:00:17 +00:00
Keith Wood
0a8392186b Datepicker: Fixed #4917 Enter key press on popup fails if _dayOverClass td is after _currentClass td 2009-12-15 03:42:40 +00:00
Keith Wood
ef0e88c8a1 Datepicker - Fixed #4949 - Double click on next/previous button closes the datepicker 2009-12-08 04:54:04 +00:00