Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit a28269e

Browse files
committed
fix js calls
1 parent f742640 commit a28269e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/web/scripts/launch/contestDetailSoftware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2389,7 +2389,7 @@ function validateFieldsPrizeSection() {
23892389
}
23902390
}
23912391

2392-
if (isActiveContest && !mainWidget.isPrivateProject()) {
2392+
if (isActiveContest && !mainWidget.softwareCompetition.isPrivateProject()) {
23932393
var totalCostWithoutAdminFee = retrieveContestCostWithoutAdminFee();
23942394
if (totalCostWithoutAdminFee < preCost) {
23952395
errors.push('The cost of active challenge should not be decreased.');

src/web/scripts/launch/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ function isContestSaved() {
972972
}
973973

974974
function disablePrizeAdjustment() {
975-
return (phaseOpen && !mainWidget.isPrivateProject())
975+
return (phaseOpen && !mainWidget..softwareCompetition.isPrivateProject())
976976
}
977977

978978
/**

0 commit comments

Comments
 (0)