diff --git a/front/static/js/viewHistory.js b/front/static/js/viewHistory.js index fbbdf9f..b19c429 100644 --- a/front/static/js/viewHistory.js +++ b/front/static/js/viewHistory.js @@ -475,3 +475,10 @@ document.addEventListener("submit", function(event) { makeAjaxRequest("PUT", url, alertCallback, null, formData); } }); + +// Jquery is required to handle this modal event +$(document).ready(function(){ + $("#newReportModal").on('hidden.bs.modal', function() { + location.reload(true); + }); +});