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
1 changed files with 5 additions and 1 deletions

View File

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