diff --git a/templates/CRM/Contact/Form/Task/Map/Google.tpl b/templates/CRM/Contact/Form/Task/Map/Google.tpl index 0bf7ce20ff17..13abb925dbe2 100644 --- a/templates/CRM/Contact/Form/Task/Map/Google.tpl +++ b/templates/CRM/Contact/Form/Task/Map/Google.tpl @@ -89,7 +89,7 @@ function gpopUp() { var from = document.getElementById('from').value; var to = document.getElementById('to').value; - var URL = "http://maps.google.com/maps?saddr=" + from + "&daddr=" + to; + var URL = "https://maps.google.com/maps?saddr=" + from + "&daddr=" + to; day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=780,height=640,left = 202,top = 100');"); diff --git a/templates/CRM/Contact/Form/Task/Map/OpenStreetMaps.tpl b/templates/CRM/Contact/Form/Task/Map/OpenStreetMaps.tpl index d2fed321438d..d29e018482d2 100644 --- a/templates/CRM/Contact/Form/Task/Map/OpenStreetMaps.tpl +++ b/templates/CRM/Contact/Form/Task/Map/OpenStreetMaps.tpl @@ -163,7 +163,7 @@ function gpopUp() { var from = document.getElementById('from').value; var to = document.getElementById('to').value; - var URL = "http://maps.google.com/maps?saddr=" + from + "&daddr=" + to; + var URL = "https://maps.google.com/maps?saddr=" + from + "&daddr=" + to; day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=780,height=640,left = 202,top = 100');");