From 906cc439f531876b445167e533d249982abb202e Mon Sep 17 00:00:00 2001 From: Matthew Juhl <mjuhl24@gmail.com> Date: Tue, 26 Jan 2010 18:05:31 +0000 Subject: [PATCH] Fix alumni checkbox and new field display on profile editor. --- plugins/unl_theme/scripts/JS/enhanceProfileForm.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php index ffd8d27d..dc583cc3 100644 --- a/plugins/unl_theme/scripts/JS/enhanceProfileForm.php +++ b/plugins/unl_theme/scripts/JS/enhanceProfileForm.php @@ -482,7 +482,7 @@ if (alumniOptIn == "yes"){ $("input[name=form_data_info_alumni_opt_in]").attr("checked","checked"); } - + $("input[name=form_data_info_alumni_opt_in]").parent().parent().children("label").css("width","350px"); function alumniCheckbox () { if ($("select[name=form_data_profile_role]").val() == "Alumnus") { $("input[name=form_data_info_alumni_opt_in]").parent().parent().show(); @@ -495,6 +495,7 @@ $("select[name=form_data_profile_role]").change(alumniCheckbox); + $("textarea[name=form_data_profile_unl_impact]").parent().css({clear:"both",display:"block","margin-left":"150px"}).siblings("label").css("width","330px"); $("#formloading").remove(); $("#maincontent form.cool").show(); -- GitLab