Skip to content
Snippets Groups Projects
Commit 906cc439 authored by Matthew Juhl's avatar Matthew Juhl
Browse files

Fix alumni checkbox and new field display on profile editor.

parent b81d2dca
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment