CC-2425:Tweak phone home

- privacy check box is uncheck by defalut
- 'Yes' button is disabled on popup form by default
- custom error msg is added for privacy checkbox on preference
form
- promote form is hidden by default
This commit is contained in:
James 2011-06-26 23:13:49 -04:00
parent 1243c60442
commit c5ec6b5a53
6 changed files with 52 additions and 14 deletions

View file

@ -37,7 +37,9 @@ $(document).ready(function(){
}
]
});
var button = $("#help_airtime");
button.attr('disabled', 'disabled').addClass('ui-state-disabled');
dialog.dialog('open');
})

View file

@ -53,6 +53,14 @@ $(document).ready(function() {
pub.removeAttr("disabled");
}
});
$("#Publicise").live('click', function(){
if($(this).is(':checked')){
$("#public-info").show();
}else{
$("#public-info").hide();
}
});
showErrorSections();