From a7eafd4b41f29ab1bbf9baafac841a12a8e3867d Mon Sep 17 00:00:00 2001
From: Matthew Juhl <mjuhl24@gmail.com>
Date: Tue, 30 Mar 2010 20:13:40 +0000
Subject: [PATCH] Fix mobile profile editor.

---
 plugins/mobile_unl/views/mobile/profile/edit.php | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/plugins/mobile_unl/views/mobile/profile/edit.php b/plugins/mobile_unl/views/mobile/profile/edit.php
index f22b0d7a..62593b96 100644
--- a/plugins/mobile_unl/views/mobile/profile/edit.php
+++ b/plugins/mobile_unl/views/mobile/profile/edit.php
@@ -62,7 +62,18 @@ if ($_GET['firstlogin'] == 'yes'){
 	
 	
 	</ol>
-</form>
+</form>	
+<script type="text/javascript" src="/wdn/templates_3.0/scripts/jquery.js"></script>
+<script type="text/javascript" src="http://ucommjuhl.unl.edu/planetred/elgg/mod/unl_theme/scripts/JS/enhanceProfileForm.php"></script>
+<script type="text/javascript">$("p.form-field-description").css({"margin-top": "1px", "margin-left": "1px", "margin": "0px"});</script>
+<noscript>
+<p>Sorry, the profile editor requires JavaScript. Please enable JavaScript in your browser, or sign in to Planet Red with a browser that supports JavaScript.</p>
+<style type="text/css">
+form.cool {
+	display: none;
+}
+</style>
+</noscript>
 <?php
 } else {
 	echo elgg_echo('form:error_no_profile_form');
-- 
GitLab