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

This commit is contained in:
Albert Santoni 2014-07-03 17:13:06 -04:00
commit 3c88f66162
1 changed files with 3 additions and 3 deletions

View File

@ -16,12 +16,12 @@ var customerInEU = false;
function validatePlan()
{
if ($("#newproductid-25").is(":checked")) {
$("#newproductbillingcycle-monthly").prop("checked", "true");
$("#newproductbillingcycle-monthly").attr("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");
$("#newproductbillingcycle-annually").attr("disabled", "disabled");
$("label[for='newproductbillingcycle-annually']").addClass("disabled");
} else {
$("#newproductbillingcycle-annually").removeProp("disabled");
$("#newproductbillingcycle-annually").removeAttr("disabled");
$("label[for='newproductbillingcycle-annually']").removeClass("disabled");
}
}