Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Commit

Permalink
some change in core applied minDate and maxDate to all datepickers, t…
Browse files Browse the repository at this point in the history
…hat's not the best behavior for a calendar
  • Loading branch information
georgehrke committed Nov 18, 2014
1 parent 5c277d3 commit 4c06265
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,14 @@ Calendar={
$('#fullcalendar').fullCalendar('unselect');
Calendar.UI.lockTime();
$( "#from" ).datepicker({
minDate: null,
maxDate: null,
dateFormat : 'dd-mm-yy',
onSelect: function(){ Calendar.Util.adjustDate(); }
});
$( "#to" ).datepicker({
minDate: null,
maxDate: null,
dateFormat : 'dd-mm-yy'
});
$('#fromtime').timepicker({
Expand Down

0 comments on commit 4c06265

Please sign in to comment.