update openMap method for itinerary report
This commit is contained in:
parent
b42b1ea410
commit
03c7153565
@ -45,12 +45,9 @@ export function addLocationToItinerary() {
|
||||
}
|
||||
|
||||
export function openMap() {
|
||||
if (!document.getElementById('case-filter').value || !document.getElementById('date-filter').value) {
|
||||
return false;
|
||||
}
|
||||
|
||||
document.getElementById('caseId').value = document.getElementById('case-filter').value;
|
||||
document.getElementById('caseDate').value = document.getElementById('date-filter').value;
|
||||
document.getElementById('startDate').value = document.getElementById('start-date-filter').value;
|
||||
document.getElementById('endDate').value = document.getElementById('end-date-filter').value;
|
||||
|
||||
document.getElementById('map-form').submit();
|
||||
}
|
Loading…
Reference in New Issue
Block a user