Commit Graph

135 Commits

Author SHA1 Message Date
Richard D. Worth
b8af0d1f75 Datepicker: show inline datepicker setting explicit display:block instead of using .show() in case it is disconnected. Fixed #7552 - A Datepicker created on a detached div has zero height 2011-07-19 07:59:21 -04:00
Jörn Zaefferer
96de2aa04a Merge remote branch 'pgraham/master' 2011-06-28 16:41:36 -05:00
Philip Graham
76e2b98a31 Updated guard against unparsed characters to allow extra characters as long as they are separated from the date by whitespace. This maintains compatibility with timepicker extensions.
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-06-28 16:40:28 +00:00
marcneuwirth
effdd5d19c Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called 2011-06-28 10:59:08 -05:00
marcneuwirth
a56aa861b1 Datepicker: Added onSelect.apply() call to _doKeyDown method when enter button pushed if onSelect is defined. Fixed #7124 - Datepicker: onSelect does not fire when enter button is pushed 2011-06-28 10:49:47 -05:00
marcneuwirth
5f0a2f01c4 Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object 2011-06-22 04:03:55 -05:00
Scott González
fb210ae1ec Merge pull request #353 from kborchers/bug_7043
Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed
2011-06-16 10:35:04 -07:00
kborchers
ed7802090f Datepicker: Reset this.maxRows (rows in a month) on each row in a multi-row datepicker. 2011-06-13 10:54:40 -05:00
Scott González
da84672db8 .attr() -> .prop() 2011-06-08 17:02:57 -04:00
kborchers
1d984e76b7 Datepicker: Calculate the max number of rows necessary when displaying months. Fixes #7043 - Datepicker: Using multiple months always renders 6 rows of dates even if only 5 are needed 2011-05-27 15:10:53 -05:00
kborchers
ab365be03d Datepicker: Added checks for the disabled option. Fixed #5665 - Datepicker: Disabled parameter doesn't work 2011-05-20 13:44:14 -05:00
Jörn Zaefferer
92b0f6702a There's no guard against unparsed characters at the end of the date string, any extra characters are just ignored
Fixes #7244 - Datepicker: parseDate() does not throw an exception for long years
2011-05-18 17:30:26 +02:00
Jörn Zaefferer
bdd2362754 Merge remote branch 'kzys/trac-6656' 2011-05-18 15:51:07 +02:00
Jay Merrifield
41205cef4b Datepicker: Made the day of year calculator be more accurate. Fixes #6827 - Datepicker: Incorrect value for "oo" during Daylight Saving Time. 2011-05-16 07:52:01 -04:00
Andrew Powell
a6227be2c0 Datepicker: removed conditional mozilla browser check block. Fixes #7322 - Year selector disappears after setting an option in Firefox 2011-05-12 11:28:37 -04:00
Scott González
1845015c09 Revert "Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed."
This reverts commit ac459ff7df.
2011-05-12 08:17:16 -04:00
Scott González
caca915888 Merge pull request #220 from kzys/trac-6850
Fixed #6850 - Disable datepicker should disable month and year dropdowns.
2011-05-11 12:32:29 -07:00
Garrison Locke
a645630eba Datepicker: Removed duplicate call to _updateDatepicker when changing option in Firefox. Fixed #7322 - datepicker: Year would disappear when changing option. 2011-05-11 14:22:04 -04:00
Kato Kazuyoshi
ac459ff7df Datepicker: Fixed #7043 - Using multiple months always renders 6 rows of dates even if only 5 are needed. 2011-05-07 06:32:13 +09:00
Kato Kazuyoshi
2063a113d6 Datepicker: onClose callback should be triggered by show. Fixed #6656 - onClose event not triggered. 2011-05-07 06:03:14 +09:00
Kato Kazuyoshi
4585182c70 Datepicker: Disabled datepicker should disable own select element too. Fixed #6850 - Disable datepicker should disable month and year dropdowns. 2011-05-07 04:53:37 +09:00
kborchers
88d8209fdd 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 10:40:43 -05:00
Scott González
116acb4cb2 Merge pull request #200 from kzys/trac-6704-2
Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths.
2011-05-04 14:09:37 -07:00
Kato Kazuyoshi
a891e81e06 Datepicker: Greedy matching in month name. Fixed #7062 - $.datepicker.parseDate does not work for some locale date strings. 2011-05-05 05:06:27 +09:00
Kato Kazuyoshi
fc97ccd398 Datepicker: Remove old "ui-datepicker-multi-N" before add new one. Fixed #6704 - Display overflow when multiple datepickers have different numberOfMonths. 2011-05-05 04:11:48 +09:00
adambaratz
74d195e396 Datepicker: bind hover events using delegate. Fixed #7256 - minimize event binding in Datepicker initialization. 2011-05-02 09:53:13 -04:00
Scott González
98c53d8432 Datepicker: Only generate yearshtml once. Fixes #7176 - Datepicker shows only single year in year dropdown if numberOfMonths > 1. 2011-04-04 07:55:42 -04:00
Scott González
6d01645716 Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor. 2011-03-18 08:26:08 -04:00
gnarf
ac0cc2fac5 Datepicker: Updated to check for new or old style effects (see #7103). 2011-03-15 09:02:21 -04:00
Adam Parod
74b7c3f684 Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes. 2011-03-07 09:34:00 -05:00
Scott González
c44818fcca 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
2011-02-16 13:15:14 -05:00
Dan Heberden
5c3dc7d48a Datepicker: prevent datepicker initialization on empty jquery collection and add unit test. Fixed #6976 - datepicker creates extra dom element with empty object 2011-02-15 10:15:46 -08:00
Scott González
a3cba34a4d Datepicker: Properly handle datepickers attached to inputs that are hidden using CSS. Fixes #6988 - Datepicker: Treat all hidden text fields the same. 2011-02-15 08:39:47 -05:00
Tobias Brunner
39cf7d5bb4 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.
2011-02-03 08:51:50 -05:00
Ivan Peters
67b070f97a Datepicker: Update parseDate to properly handle a string value in shortYearCutoff. Fixed #6872: parseDate does not default shortYearCutoff correctly. 2011-01-18 16:25:58 +13:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -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
Scott González
cc9c8a3464 Datepicker: Fixed display of month and year dropdowns when showing month after year.
Fixes #4420 - showMonthAfterYear make calendar disorder.

Thanks bhornseth for the patch.
2009-12-04 04:02:55 +00:00
Keith Wood
707539f3cf Datepicker - Fixed #4704 - Datepicker global variable isn't unique 2009-12-02 00:33:56 +00:00
Keith Wood
d33c2de502 Datepicker - Fixed #4870 - yearRange doesn't work as expected 2009-12-01 01:27:25 +00:00
Keith Wood
f07293942f Datepicker - Fixed #4885 - Tab key should not have default behaviour prevented by datepicker 2009-11-30 00:03:36 +00:00
Keith Wood
378260f132 Datepicker - Fixed #4787 - Datepicker: fix animation control 2009-11-29 22:56:30 +00:00
Keith Wood
2b12ea0308 Datepicker - Fixed #4956 - undefined variable: lookAhead() 2009-11-27 06:17:41 +00:00
Keith Wood
bfdf9df0ca Datepicker - Fixed #4969 - Datepicker cannot change values of fields named with special characters 2009-11-27 06:08:13 +00:00
Richard Worth
e2d873e6f0 renamed all ui.*.js files to jquery.ui.*.js, all effects.*.js files to jquery.effects.*.js per announcement and discussion here http://groups.google.com/group/jquery-ui-dev/msg/d565a0c56e0cb935 2009-09-17 10:39:12 +00:00