Add function to refresh page on new report close

This commit is contained in:
Preston Doman 2019-02-16 18:42:19 -08:00
parent e1873fe4ae
commit 30676d35ab

View file

@ -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);
});
});