Commit Graph

69 Commits

Author SHA1 Message Date
Kato Kazuyoshi
3124864541 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered.
(cherry picked from commit 2063a113d6)
2011-05-18 16:03:13 +02:00
Jay Merrifield
c1470492bd Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time.
(cherry picked from commit 41205cef4b)
2011-05-16 07:54:38 -04:00
Andrew Powell
10fa7f9ae9 Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox
(cherry picked from commit a6227be2c0)
2011-05-12 11:29:13 -04:00
Scott González
804ba0a2df Revert "Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed."
This reverts commit 5e1032ec74.
2011-05-12 08:18:06 -04:00
Kato Kazuyoshi
2b84107b31 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns.
(cherry picked from commit 4585182c70)
2011-05-11 15:33:16 -04:00
Garrison Locke
3edda96f2a Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option.
(cherry picked from commit a645630eba)
2011-05-11 14:22:59 -04:00
Kato Kazuyoshi
5e1032ec74 Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed.
(cherry picked from commit ac459ff7df)
2011-05-11 11:10:37 -04:00
Scott González
73602652ac Datepicker: Moved the setting of _datepickerShowing to after postProcess to prevent being able to tab away leaving the datepicker open. Fixed #6775 - DatePicker remains open when tabbing out 2011-05-06 13:31:43 -04:00
Kato Kazuyoshi
870977ae6b Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
(cherry picked from commit fc97ccd398)
2011-05-04 17:12:01 -04:00
Kato Kazuyoshi
f9faa0ab5f Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings.
(cherry picked from commit a891e81e06)
2011-05-04 17:00:40 -04:00
adambaratz
0da176b006 Datepicker: bind hover events using delegate. Fixed #7256 - minimize event binding in Datepicker initialization.
(cherry picked from commit 74d195e396)
2011-05-02 10:07:33 -04:00
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