diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-11 14:53:45 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-11 14:53:45 -0400 |
commit | a50516f77e82206f2d1f4188c9f5a242442ace09 (patch) | |
tree | 87a49bbd4939878000d2700be4a3e801ff43e3cc | |
parent | 4d5197b7b446be3a4ff680302c80e98b6b809756 (diff) | |
download | jquery-ui-a50516f77e82206f2d1f4188c9f5a242442ace09.tar.gz jquery-ui-a50516f77e82206f2d1f4188c9f5a242442ace09.zip |
Datepicker demo: Fixed date range restriction when clearing dates. Fixes #5473 - Datepicker: Date range demo bug when clearing date.
-rw-r--r-- | demos/datepicker/date-range.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/datepicker/date-range.html b/demos/datepicker/date-range.html index 284b6b3be..7fd8f321c 100644 --- a/demos/datepicker/date-range.html +++ b/demos/datepicker/date-range.html @@ -15,7 +15,7 @@ defaultDate: "+1w", changeMonth: true, numberOfMonths: 3, - onSelect: function( selectedDate ) { + onClose: function( selectedDate ) { $( "#to" ).datepicker( "option", "minDate", selectedDate ); } }); @@ -23,7 +23,7 @@ defaultDate: "+1w", changeMonth: true, numberOfMonths: 3, - onSelect: function( selectedDate ) { + onClose: function( selectedDate ) { $( "#from" ).datepicker( "option", "maxDate", selectedDate ); } }); |