11/*
2- * Copyright (C) 2010 - 2018 TopCoder Inc., All Rights Reserved.
2+ * Copyright (C) 2010 - 2018 TopCoder Inc., All Rights Reserved.
33 */
44/**
55 * This javascript file defines classes to store informations about contest.
6767 * Version 1.10(TOPCODER - IMPROVE USER MANAGEMENT BEHAVIOR FOR PROJECT PERMISSIONS & NOTIFICATIONS)
6868 * - Refactor constant for copilot posting
6969 *
70- * Version 1.11 (Topcoder - Support Points Prize Type For Challenges)
71- * - Add support for points prize type
72- *
70+ * Version 1.11 (Topcoder - Support Points Prize Type For Challenges)
71+ * - Add support for points prize type
72+ *
7373 * @author duxiaoyang, bugbuka, GreatKevin, TCSCODER
74- * @version 1.11
74+ * @version 1.11
7575 */
7676if ( ! com ) {
7777 var com = { } ;
@@ -95,7 +95,7 @@ var CONTEST_DETAILED_STATUS_ACTIVE_PUBLIC =2 ;
9595var CONTEST_DETAILED_STATUS_SCHEDULED = 9 ;
9696var CHECKPOINT_PRIZE_TYPE_ID = 14 ;
9797var CONTEST_PRIZE_TYPE_ID = 15 ;
98- var CHALLENGE_POINT_TYPE_ID = 16 ;
98+ var CHALLENGE_POINT_TYPE_ID = 16 ;
9999
100100
101101/**
@@ -119,8 +119,8 @@ com.topcoder.direct.Prize = function(place, amount, prizeType, numberOfSubmissio
119119 this . prizeType . description = "Contest Prize" ;
120120 } else if ( prizeType == CHECKPOINT_PRIZE_TYPE_ID ) {
121121 this . prizeType . description = "Checkpoint Prize" ;
122- } else if ( prizeType == CHALLENGE_POINT_TYPE_ID ) {
123- this . prizeType . description = "Challenge Points" ;
122+ } else if ( prizeType == CHALLENGE_POINT_TYPE_ID ) {
123+ this . prizeType . description = "Challenge Points" ;
124124 }
125125
126126 this . numberOfSubmissions = numberOfSubmissions ;
@@ -213,13 +213,13 @@ var MM_TYPE = "Marathon Match Type";
213213var projectCategoryArray = [
214214 { id :SOFTWARE_CATEGORY_ID_CONCEPT , name :'CONCEPTUALIZATION' , label :'Software Conceptualization' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
215215 { id :SOFTWARE_CATEGORY_ID_SPEC , name :'SPECIFICATION' , label :'Software Specification' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
216- { id :7 , name :'ARCHITECTURE' , label :'Architecture' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
216+ { id :7 , name :'ARCHITECTURE' , label :'Architecture' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
217217 { id :SOFTWARE_CATEGORY_ID_DESIGN , name :'DESIGN' , label :'Component Design' , typeId :1 , typeName :'Component' , hasMulti :false , hideInDropdown : true } ,
218218 { id :SOFTWARE_CATEGORY_ID_DEVELOPMENT , name :'DEVELOPMENT' , label :'Component Development' , typeId :1 , typeName :'Component' , hasMulti :false , hideInDropdown : true } ,
219219 { id :25 , name :'RIACOMPONENT' , label :'RIA Component' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
220220 { id :24 , name :'RIABUILD' , label :'RIA Build' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
221- { id :19 , name :'UIPROTOTYPE' , label :'UI Prototype' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
222- { id :SOFTWARE_CATEGORY_ID_ASSEMBLY , name :'SOFTWARE ASSEMBLY' , label :'Software Assembly' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
221+ { id :19 , name :'UIPROTOTYPE' , label :'UI Prototype' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
222+ { id :SOFTWARE_CATEGORY_ID_ASSEMBLY , name :'SOFTWARE ASSEMBLY' , label :'Software Assembly' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
223223 { id :13 , name :'TESTSUITES' , label :'Test Suites' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : false } ,
224224 { id :26 , name :'TESTSCENARIOS' , label :'Test Scenarios' , typeId :2 , typeName :'Application' , hasMulti :true , hideInDropdown : true } ,
225225 { id :COPILOT_POSTING , name :'Copilot Posting' , label :'Copilot Posting' , typeId :2 , typeName :'Application' , hasMulti :false , hideInDropdown : true } ,
0 commit comments