This commit is contained in:
2022-08-24 21:59:00 +00:00
parent 09ddd7e0bb
commit 730cac3e50
2 changed files with 44 additions and 24 deletions

View File

@@ -22,7 +22,9 @@ app.ravLicense = (function () {
onRevoke,
onPerpetualChanged,
onLicenseExpiresSetOneMonth,
onLicenseExpiresSetOneYear;
onLicenseExpiresSetOneYear,
onMaintExpiresSetOneMonth,
onMaintExpiresSetOneYear;
//----------------- END MODULE SCOPE VARIABLES ---------------
//------------------- BEGIN UTILITY METHODS ------------------
@@ -131,7 +133,11 @@ app.ravLicense = (function () {
$("#subusercountblock").toggleClass("d-none");
$("#subcustcountblock").toggleClass("d-none");
$("#licenseExpires").prop("checked", !$("#perpetual").prop("checked"));
const isPerpetual = $("#perpetual").prop("checked");
$("#licenseExpires").prop("checked", !isPerpetual);
$("#title").text(
isPerpetual ? "Perpetual license" : "Subscription license"
);
return false; //prevent default
};