Skip to content
Snippets Groups Projects
Commit 0b4658c0 authored by Brett Bieber's avatar Brett Bieber
Browse files

correct link to script

parent 203ad718
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ if ($vars['title'] == "Edit profile") {
// Edit Profile Stuff
function updateLL () {
var city = $("input[name=form_data_profile_city]").val(), state = $("input[name=form_data_profile_state]").val(), country = $("input[name=form_data_profile_country]").val();
$.get("/UNL_Elgg/scripts/latlon.php",{city:city,state:state,country:country},function(response){
$.get("<?php echo $vars['url']; ?>mod/unl_theme/scripts/latlon.php",{city:city,state:state,country:country},function(response){
try {
var data = eval(response);
$("input[name=form_data_latitude]").val(data.latitude);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment