From cde9dbe875b4e8a1151d5d872784c38b95e8bb8c Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Tue, 27 Apr 2010 17:20:27 +0000
Subject: [PATCH] move the edit profile js out of the global header; fix
 lat/long problem

---
 plugins/unl_theme/scripts/JS/enhanceProfileForm.php      | 3 ++-
 plugins/unl_theme/views/default/page_elements/header.php | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php
index 0dd7be59..ef686f69 100644
--- a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php
+++ b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php
@@ -1,4 +1,4 @@
-/*<script type="text/javascript">*/
+<script type="text/javascript">
 (function(){
 	// Edit Profile Stuff
 	function updateLL () {
@@ -503,3 +503,4 @@
 		$("#maincontent form.cool").show();
 	});
 })();
+</script>
\ No newline at end of file
diff --git a/plugins/unl_theme/views/default/page_elements/header.php b/plugins/unl_theme/views/default/page_elements/header.php
index e9037e23..b3afc271 100644
--- a/plugins/unl_theme/views/default/page_elements/header.php
+++ b/plugins/unl_theme/views/default/page_elements/header.php
@@ -94,7 +94,6 @@ if (preg_match('/friend/', $vars['title'])) { // if on a friends page, interst l
 	}
 	
 	</style>
-	<script type="text/javascript" src="<?php echo $vars['url'] .'mod/unl_theme/scripts/JS/enhanceProfileForm.php'?>"></script>
 	
 <?php 
 	} // end if on edit profile page
-- 
GitLab