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

Commit 41364e6

Browse files
authored
Merge pull request #391 from liuliquan/points-prize-type
Fix point edit
2 parents cda763a + 24004d1 commit 41364e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/web/scripts/launch/contestDetailSoftware.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,9 +1226,11 @@ function initContest(contestJson) {
12261226
$(".edit_round").show();
12271227
$('#roundEdit').show();
12281228
$(".edit_prize").show();
1229+
$(".edit_point").show();
12291230
}
12301231
} else {
12311232
$(".edit_prize").show();
1233+
$(".edit_point").show();
12321234
$(".edit_round").show();
12331235
//enable edit date for task, not have open phase, not have phase complete other than registration
12341236
if (isTask && !hasPhaseOpen && !morePhaseCompleted){
@@ -1248,6 +1250,7 @@ function initContest(contestJson) {
12481250
// if review / iterative review (can have multiple) phases are all closed - do not allow prize edit
12491251
if(contestJson.isReviewPhaseClosed) {
12501252
$(".edit_prize").hide();
1253+
$(".edit_point").hide();
12511254
$(".edit_round").hide();
12521255
$(".privateCmd").hide();
12531256
}else if (contestJson.projectStatus != null && contestJson.projectStatus.id == ACTIVE_PROJECT_STATUS &&

0 commit comments

Comments
 (0)