Widget:VisitSchedulerRedux: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 52: | Line 52: | ||
$(this).val(updatedAppointment); | $(this).val(updatedAppointment); | ||
$.each(timeConstraints, function(key, value){ | $.each(timeConstraints, function(key, value){ | ||
$("#visit-"+key).css("border", " | $("#visit-"+key).css("border", "1px solid black"); | ||
if(key > modId && key <= 4){ | if(key > modId && key <= 4){ | ||
updatedAppointment = new Date(updatedAppointment.getFullYear(), updatedAppointment.getMonth(), updatedAppointment.getDate()+value[0]); | updatedAppointment = new Date(updatedAppointment.getFullYear(), updatedAppointment.getMonth(), updatedAppointment.getDate()+value[0]); |