修改创建竞赛时提示描述不正确的问题
This commit is contained in:
parent
2b12654796
commit
f4fd1b1133
|
@ -12,7 +12,7 @@
|
|||
$("#spane_name_notice").focus();
|
||||
return false;
|
||||
}
|
||||
else if(name.length < 25)
|
||||
else if(name.length <= 25)
|
||||
{
|
||||
$("#spane_name_notice").text("填写正确");
|
||||
$("#spane_name_notice").css('color','#008000');
|
||||
|
@ -37,7 +37,7 @@
|
|||
$("#spane_workdescription_notice").css('color','#ff0000');
|
||||
return false;
|
||||
}
|
||||
if(workDescription.length < 125)
|
||||
if(workDescription.length <= 125)
|
||||
{
|
||||
$("#spane_workdescription_notice").text("填写正确");
|
||||
$("#spane_workdescription_notice").css('color','#008000');
|
||||
|
@ -61,7 +61,7 @@
|
|||
$("#span_softapplication_application_developers").css('color','#ff0000');
|
||||
return false;
|
||||
}
|
||||
if(workDescription.length < 125)
|
||||
if(workDescription.length <= 125)
|
||||
{
|
||||
$("#span_softapplication_application_developers").text("填写正确");
|
||||
$("#span_softapplication_application_developers").css('color','#008000');
|
||||
|
@ -79,7 +79,6 @@
|
|||
{
|
||||
if(regexName() && regexWorkdescription() && regexDevelopers())
|
||||
{
|
||||
alert("123123123123");
|
||||
$("#new_softapplication").submit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue