Should be fixed now

This commit is contained in:
Rick Falkvinge
2018-03-07 10:14:49 +01:00
parent 2f0e6994d7
commit 36b56cb98c
2 changed files with 2 additions and 4 deletions
-4
View File
@@ -63,7 +63,6 @@
}
if (orgSettings.Participation.Duration != 1440) {
alert("Pong");
$('.enableExpiryRenewalField').show();
}
@@ -132,12 +131,9 @@
}
function onChangeRenewalEnable(newValue) {
alert("Ping - " + newValue);
if (newValue != 1440) {
alert("show");
$(".enableExpiryRenewalField").show();
} else {
alert("hide");
$(".enableExpiryRenewalField").hide();
}
}
+2
View File
@@ -511,11 +511,13 @@ namespace Swarmops.Frontend.Pages.Admin
case "ParticipationEntry":
result.Success = true;
result.NewValue = newValue;
authenticationData.CurrentOrganization.Parameters.ParticipationEntry = newValue;
break;
case "ParticipationDuration":
result.Success = true;
result.NewValue = newValue;
authenticationData.CurrentOrganization.Parameters.ParticipationDuration = newValue;
break;