Widget:MattTest: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 320: Line 320:
}
}
}
}
else if ($.inArray($.trim(visitNum),["Visit 2", "Visit 4", "Visit 5", "Visit 6", "Visit 7", "Visit 8"]) > -1){
else if ($.inArray($.trim(visitNum),["Visit 2", "Visit 4", "Visit 5", "Visit 6", "Visit 7", "Visit 8", "Visit 9", "Visit 10", "Visit 11"]) > -1){
//Check visit based on number of days only.  Need to create temp variables to drop the time from the dates.
//Check visit based on number of days only.  Need to create temp variables to drop the time from the dates.
var maxDay = new Date(tdmax.getFullYear(), tdmax.getMonth(), tdmax.getDate() );
var maxDay = new Date(tdmax.getFullYear(), tdmax.getMonth(), tdmax.getDate() );

Revision as of 20:13, 7 May 2018