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

Remove previous styling information from profile editor JS.

parent 2b1a2f15
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@
$(document).ready(function(){
/* SET UP PROFILE EDIT FORM */
$("form.cool fieldset:first-child").css("margin-top","0");
$("p.form-description").remove();
// get the year and country values for later use
......@@ -46,16 +46,13 @@
$("form.cool label").wrap("<li></li>").addClass("element");
$("form.cool label br").remove();
$("form.cool p.form-field-description").each(function(){
$(this).appendTo($(this).prev()).css({
$(this).appendTo($(this).prev())/*.css({
fontSize: "75%",
color: "#1091D1"
});
});
$("body.fixed #maincontent p.form-field-description").css({
marginLeft: "164px",
marginTop: "46px"
})*/;
});
$("form.cool fieldset input[type!=submit], form.cool fieldset select, form.cool fieldset textarea").wrap('<div class="element"></div>');
$("form.cool label div").each(function(){
$(this).insertAfter($(this).parent());
......@@ -76,7 +73,7 @@
$("input[name=form_data_profile_attended_to]").remove();
$("input[name=form_data_map_explanation]").parent().parent().css("border-bottom","#CCC 1px dotted");
$("input[name=form_data_profile_city]").parent().parent().prepend('<h6 style="width:150px;margin:0;text-align:right;"><strong>Your Map Location</strong></h6>'
$("input[name=form_data_profile_city]").parent().parent().prepend('<h6><strong>Your Map Location</strong></h6>'
+ '<p>Please enter the location you want to use for yourself on the map.</p>');
......@@ -497,7 +494,7 @@
$("select[name=form_data_profile_role]").change(alumniCheckbox);
$("body.fixed #maincontent textarea[name=form_data_profile_unl_impact]").parent().css({clear:"both",display:"block","margin-left":"150px"}).siblings("label").css("width","330px");
//$("body.fixed #maincontent 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