From 0b4658c062f761cf4b4da4b3d071c60c66256037 Mon Sep 17 00:00:00 2001
From: Brett Bieber <brett.bieber@gmail.com>
Date: Thu, 13 Aug 2009 20:34:15 +0000
Subject: [PATCH] correct link to script

---
 unl_theme/views/default/page_elements/header.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unl_theme/views/default/page_elements/header.php b/unl_theme/views/default/page_elements/header.php
index 0350a889..77b2d968 100644
--- a/unl_theme/views/default/page_elements/header.php
+++ b/unl_theme/views/default/page_elements/header.php
@@ -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);
-- 
GitLab