Merge branch 'cc-5709-airtime-analyzer-buy-now' into cc-5709-airtime-analyzer-buy-now-saas

This commit is contained in:
Albert Santoni 2014-07-03 16:53:01 -04:00
commit e8bc6a3080
1 changed files with 2 additions and 1 deletions

View File

@ -16,9 +16,10 @@ var customerInEU = false;
function validatePlan()
{
if ($("#newproductid-25").is(":checked")) {
$("#newproductbillingcycle-monthly").prop("checked", "true");
//It's import that we switch the checked item first (because you can't disable a checked radio button in Chrome)
$("#newproductbillingcycle-annually").prop("disabled", "true");
$("label[for='newproductbillingcycle-annually']").addClass("disabled");
$("#newproductbillingcycle-monthly").prop("checked", "true");
} else {
$("#newproductbillingcycle-annually").removeProp("disabled");
$("label[for='newproductbillingcycle-annually']").removeClass("disabled");