Commit Graph

99 Commits

Author SHA1 Message Date
Trey Hunner
9d6e94faf4 Use hard tabs for indentation consistently 2012-02-27 12:04:30 -05:00
Jasvir Nagra
367da95ba5 Datepicker: modified a catch variable to no longer mask an existing variable in scope. Fixed #8138 - datepicker: IE8 does not create a new scope for catch blocks and will cause 2012-02-24 13:57:46 -08:00
Scott González
d2d301f074 Datepicker: Use 'that' instead of 'self'. Partial fix for #5404 - remove uses of 'var self = this;' 2012-02-12 09:27:54 -05:00
Scott González
c964894b9b Datepicker: Allow descendant elements in triggers. Fixes #8107 - Closing the datepicker via the provided button does not work in Chrome when the button contains other non-text elements. 2012-02-08 13:42:55 -05:00
ryanolton
82cf9e297f Datepicker: added check to account for multiple pickers on one page. Fixed #5818 – multiple DatePickers won't trigger close event 2012-01-12 11:22:48 -05:00
Scott González
24fc8d6827 Merge pull request #463 from jason-oster/master
Merge #463.
2011-11-21 13:32:30 -08:00
Jay Oster
c36b43d0ee Datepicker: Fix this reference in _hideDatepicker(). Fixed #7722 - Datepicker: Does not properly clear current instance when hidden. 2011-09-15 17:02:18 -07:00
kborchers
af76ad1c82 Datepicker: Added additional check to checkExternalClick to work when clicking in another datepicker and removed old fix. Fixes #7686 - infinite loop when onclose event shows a second calendar 2011-09-12 13:30:41 -05:00
Scott González
bb79b41871 Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8.
This reverts commit 5f0a2f01c4.
2011-08-10 07:55:19 -04:00
Karl Kirch
d146297356 Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler. 2011-08-09 09:55:50 -04:00
Scott González
e827a0e280 Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
This reverts commit effdd5d19c.
2011-08-09 08:26:33 -04:00
Scott González
70687f7955 Datepicker: Removed click handling for month and year dropdowns. Fixes #6198 - Datepicker Month and Year dropdowns in IE have to click twice.
Thanks jdufresne
2011-08-01 15:28:37 -04:00
Scott González
19a9de7e66 Merge branch 'master' into core-1.6.1
Conflicts:
	demos/menubar/default.html
	tests/unit/autocomplete/autocomplete.html
	tests/visual/effects/effects.all.html
	ui/jquery.ui.menu.js
	ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
Scott González
f59a3e91e3 Datepicker: Use .attr() for size. 2011-07-25 11:13:54 -04:00
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