aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.datepicker.js
Commit message (Collapse)AuthorAgeFilesLines
* Datepicker: Allow descendant elements in triggers. Fixes #8107 - Closing the ↵Scott González2012-02-081-1/+1
| | | | | | datepicker via the provided button does not work in Chrome when the button contains other non-text elements. (cherry picked from commit c964894b9b75dc7df62660725967a1f7a526a3ec)
* Datepicker: added check to account for multiple pickers on one page. Fixed ↵ryanolton2012-01-201-1/+4
| | | | #5818 – multiple DatePickers won't trigger close event(cherry picked from commit 82cf9e297fd78730dadd9a486d6871eca72455dd)
* Datepicker: Fix `this` reference in _hideDatepicker(). Fixed #7722 - ↵Jay Oster2011-11-211-1/+2
| | | | | | Datepicker: Does not properly clear current instance when hidden. (cherry picked from commit c36b43d0ee3cf7e10d82d21e3a4ca6cb954f4c16)
* Datepicker: Added additional check to checkExternalClick to work when ↵kborchers2011-09-161-15/+14
| | | | | | clicking in another datepicker and removed old fix. Fixes #7686 - infinite loop when onclose event shows a second calendar (cherry picked from commit af76ad1c82625521b94bfc8bf967d9ca4f44da37)
* Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed ↵Scott González2011-08-101-1/+2
| | | | | | #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8. This reverts commit 86a09aeb332851971bc2b2ce6bbf4d4292b12020.
* Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - ↵Karl Kirch2011-08-091-1/+7
| | | | | | Ability to stop datepicker from appearing with beforeShow event handler. (cherry picked from commit d14629735648fb10403e38eac2b764ce6adf56c9)
* Revert "Datepicker: Added onSelect.apply() call to _setDate method if ↵Scott González2011-08-091-8/+0
| | | | | | onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called" This reverts commit b8e14e79e5bc630bf459137896c08fc37936f52f.
* Datepicker: Removed click handling for month and year dropdowns. Fixes #6198 ↵Scott González2011-08-011-15/+0
| | | | | | | - Datepicker Month and Year dropdowns in IE have to click twice. Thanks jdufresne (cherry picked from commit 70687f7955cb2471ad6df3a7806031245e5979cd)
* Datepicker: show inline datepicker setting explicit display:block instead of ↵Richard D. Worth2011-07-191-1/+3
| | | | | | using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height (cherry picked from commit b8af0d1f7505dd5e56319a11bbd14f1e381b36b9)
* Merge pull request #322 from kborchers/bug_5665Corey Frang2011-07-191-1/+10
| | | | Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work(cherry picked from commit 4bdbab9a671c1eaeaea0a2c179b74cde2f84d75e)
* Datepicker: Added onSelect.apply() call to _setDate method if onSelect is ↵marcneuwirth2011-06-281-0/+8
| | | | | | defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called (cherry picked from commit effdd5d19c534f8445ebafe4212278c4366b0041)
* Datepicker: Added onSelect.apply() call to _doKeyDown method when enter ↵marcneuwirth2011-06-281-0/+7
| | | | | | button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed (cherry picked from commit a56aa861b1deb6d71ec74a77647d12d50570ea57)
* Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: ↵marcneuwirth2011-06-271-2/+1
| | | | _selectDate restores focus to non-object
* Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row ↵kborchers2011-06-161-0/+1
| | | | | | datepicker. (cherry picked from commit ed7802090fc6ec8109d69c91a425adfffb8cff39)
* Datepicker: Calculate the max number of rows necessary when displaying ↵kborchers2011-06-161-1/+7
| | | | | | months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed (cherry picked from commit 1d984e76b79bfeda15eff392e06d8ed0eab72333)
* Datepicker: Don't use .delegate(). Fixes #7470 - Datepicker: 1.8.x can't be ↵Scott González2011-06-131-10/+15
| | | | used with jQuery 1.3.2 due to use of .delegate().
* There's no guard against unparsed characters at the end of the date string, ↵Jörn Zaefferer2011-05-181-0/+3
| | | | | | | any extra characters are just ignored Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years (cherry picked from commit 92b0f6702a9408f4bd7d71ccca7e0e851d0efc6b)
* Datepicker: onClose callback should be triggered by show. Fixed #6656 - ↵Kato Kazuyoshi2011-05-181-4/+12
| | | | | | onClose event not triggered. (cherry picked from commit 2063a113d6dbae006413896a93d46a34ebc9b155)
* Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - ↵Jay Merrifield2011-05-161-1/+1
| | | | | | Datepicker: Incorrect value for "oo" during Daylight Saving Time. (cherry picked from commit 41205cef4b23749592c832605452af6575970623)
* Datepicker: removed conditional mozilla browser check block. Fixes #7322 - ↵Andrew Powell2011-05-121-9/+4
| | | | | | Year selector disappears after setting an option in Firefox (cherry picked from commit a6227be2c09da2c698ee6d5251ac113b90585522)
* Revert "Datepicker: Fixed #7043 - Using multiple months always renders 6 ↵Scott González2011-05-121-1/+1
| | | | | | rows of dates even if only 5 are needed." This reverts commit 5e1032ec74feba976c91de275605174c87710a6a.
* Datepicker: Disabled datepicker should disable own select element too. Fixed ↵Kato Kazuyoshi2011-05-111-0/+4
| | | | | | #6850 - Disable datepicker should disable month and year dropdowns. (cherry picked from commit 4585182c703ba93e0cbb059319862c53e177f836)
* Datepicker: Removed duplicate call to _updateDatepicker when changing option ↵Garrison Locke2011-05-111-1/+2
| | | | | | in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option. (cherry picked from commit a645630ebaf02febb19a5c9e28f1e46401f07ed0)
* Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of ↵Kato Kazuyoshi2011-05-111-1/+1
| | | | | | dates even if only 5 are needed. (cherry picked from commit ac459ff7df4904cb8601d4efb95107177ecb40e0)
* Datepicker: Moved the setting of _datepickerShowing to after postProcess to ↵Scott González2011-05-061-1/+1
| | | | prevent being able to tab away leaving the datepicker open. Fixed #6775 - DatePicker remains open when tabbing out
* Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed ↵Kato Kazuyoshi2011-05-041-2/+1
| | | | | | #6704 - Display overflow when multiple datepickers have different numberOfMonths. (cherry picked from commit fc97ccd398b60525fd9e4c0e9aa1f51048984394)
* Datepicker: Greedy matching in month name. Fixed #7062 - ↵Kato Kazuyoshi2011-05-041-7/+17
| | | | | | $.datepicker.parseDate does not work for some locale date strings. (cherry picked from commit a891e81e06c7ce491ae9058aea2fa7fbd51eddb6)
* Datepicker: bind hover events using delegate. Fixed #7256 - minimize event ↵adambaratz2011-05-021-20/+27
| | | | | | binding in Datepicker initialization. (cherry picked from commit 74d195e39681791545b3026a66bfa3f319237e5a)
* Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows ↵Scott González2011-04-041-34/+36
| | | | | | only single year in year dropdown if numberOfMonths > 1. (cherry picked from commit 98c53d8432990f2c674e3a1274141b64a87d8ee9)
* Datepicker: Changed a comment that causes problems with YUI Compressor. ↵Scott González2011-03-181-1/+1
| | | | | | Fixes #7129 - Datepicker: Can't minify with YUI Compressor. (cherry picked from commit 6d0164571647e169c9674a2853f3223caf188e7e)
* Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - ↵Adam Parod2011-03-071-0/+7
| | | | | | Reformat minDate/maxDate when dateFormat changes. (cherry picked from commit 74b7c3f684f5d83effcee6d5099c6fffb020fdf9)
* Datepicker: Account for daylight saving when calculating number of days in a ↵Scott González2011-02-161-1/+1
| | | | | | | month. Fixes #6978 - In Calender for march 2011 dates showing till 5th only. Thanks jomyjohn (cherry picked from commit c44818fccaeb4f41fdb8b8a00662169a4258b78c)
* Datepicker: prevent datepicker initialization on empty jquery collection and ↵Dan Heberden2011-02-151-1/+6
| | | | | | add unit test. Fixed #6976 - datepicker creates extra dom element with empty object (cherry picked from commit 5c3dc7d48ae501bd52476bfc45905130577d52c9)
* Datepicker: Properly handle datepickers attached to inputs that are hidden ↵Scott González2011-02-151-1/+1
| | | | | | using CSS. Fixes #6988 - Datepicker: Treat all hidden text fields the same. (cherry picked from commit 6fbee255d8d895c7e84a4b2eaad2cfadc8a3425a)
* Datepicker: only set the focus explicitly if it is not already on the target ↵Tobias Brunner2011-02-031-1/+3
| | | | | | | 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 39cf7d5bb4f9dfe1ada5dc2499f5c91e536ec96b)
* Datepicker: Update parseDate to properly handle a string value in ↵Ivan Peters2011-01-181-0/+2
| | | | shortYearCutoff. Fixed #6872: parseDate does not default shortYearCutoff correctly.
* Updated copyright year.Scott González2011-01-171-1/+1
|
* Datepicker: enabled OSX meta keys to work when constraining input. Fixed ↵dblood2010-12-031-1/+1
| | | | #5317 - datepicker cmd+a/c/v is not working on MAC OS-X
* Datepicker: made it possible to select a date in the selected month using ↵pheiberg2010-11-301-2/+2
| | | | enter. Fixes #5527 - Datepicker: Problem selecting the date with keyboard shorcuts
* Datepicker: Proper handling of empty strings for dates.Scott González2010-11-221-6/+3
|
* Datepicker: Handle clearing the date inside _setDate() as early as possible. ↵Scott González2010-11-221-2/+5
| | | | | | Fixes #6684 - Datepicker: setDate() should accept an empty string. Thanks RobinHerbots.
* Datepicker: Don't use ui-helper-hidden-accessible for initial hiding.Scott González2010-11-221-1/+2
|
* Datepicker: changed setDate not to modify the passed date argument. Fixes ↵pheiberg2010-11-221-16/+16
| | | | #6671 - setDate manipulates its argument
* Datepicker: Fixed parsing of single y character for date formats. Fixes ↵pheiberg2010-11-181-2/+2
| | | | #6659 - Datepicker: Date format ymmdd not parsed correctly.
* Datepicker: Avoid flash during render in Firefox. Fixes #5493 - Datepicker: ↵Scott González2010-11-051-12/+36
| | | | | | changeYear + yearRange causes flash in Firefox. Thanks israelrios.
* Datepicker: fixed problem on ids with. Fixed #6154 – Datepicker brokes ↵m157y2010-10-061-1/+1
| | | | handler ids with dashes
* Datepicker: Hightlight the curerent date, not the selected date. Fixes #5984 ↵Lim Chee Aun2010-09-201-1/+1
| | | | - Datepicker showing multiple months highlights selected day in all of them
* datepicker: changed parseDate to be case insensitive. Fixed #6036 - ↵AndrewNewcomb2010-09-091-1/+1
| | | | datepicker: parseDate is case sensitive.
* Datepicker: use a setTimeout 0 so the same code can run in IE (as other ↵Richard D. Worth2010-08-041-2/+5
| | | | 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
* All: Added http://jqueryui.com/about to header comments.Scott González2010-07-141-1/+1
|