Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Datepicker demo: Fixed date range restriction when clearing dates. Fi…

…xes #5473 - Datepicker: Date range demo bug when clearing date.
  • Loading branch information...
commit a50516f77e82206f2d1f4188c9f5a242442ace09 1 parent 4d5197b
@scottgonzalez scottgonzalez authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 demos/datepicker/date-range.html
View
4 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 );
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.