From 5789accfe48bfd7071b1abad6021ead1da325131 Mon Sep 17 00:00:00 2001 From: Ayeshmantha Perera Date: Sun, 27 Oct 2019 13:57:10 +0100 Subject: [PATCH] RA-1639 :- Fix Add Past Visit - End Date is not synchronized with the start date (#245) --- .../main/webapp/fragments/patientdashboard/visitIncludes.gsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omod/src/main/webapp/fragments/patientdashboard/visitIncludes.gsp b/omod/src/main/webapp/fragments/patientdashboard/visitIncludes.gsp index 50b0ccbd3..103c9d1d0 100644 --- a/omod/src/main/webapp/fragments/patientdashboard/visitIncludes.gsp +++ b/omod/src/main/webapp/fragments/patientdashboard/visitIncludes.gsp @@ -21,7 +21,7 @@ jq(function(){ // TODO: for retrospective visits dialog, hack to set the end date when selecting a start date // TODO: move this! - jq('#retrospectiveVisitStartDate').change(function() { + jQuery('#retrospectiveVisitStartDate').change(function() { jq('#retrospectiveVisitStopDate-display').val(jq('#retrospectiveVisitStartDate-display').val()); jq('#retrospectiveVisitStopDate-field').val(jq('#retrospectiveVisitStartDate-field').val()); });