CC-2475:When Promote is checked promote info section has to be

expanded by default

- fixed
This commit is contained in:
james 2011-06-30 12:29:35 -04:00
parent 48537c3c10
commit 8475326d96

View file

@ -54,13 +54,17 @@ $(document).ready(function() {
} }
}); });
$("#Publicise").live('click', function(){ var promote = $("#Publicise");
promote.live('click', function(){
if($(this).is(':checked')){ if($(this).is(':checked')){
$("#public-info").show(); $("#public-info").show();
}else{ }else{
$("#public-info").hide(); $("#public-info").hide();
} }
}); });
if( promote.is(":checked")){
$("#public-info").show();
}
showErrorSections(); showErrorSections();