删除无用js
This commit is contained in:
parent
61eb3ecc62
commit
dd8e8e38ac
|
@ -395,39 +395,6 @@ function show_bid_dead_line(year,month,day,divname)
|
|||
+ "<p class='fr'>作品提交还剩:</p>");
|
||||
}
|
||||
|
||||
//新建作业,下一步按钮
|
||||
function select_homework_common_type(url,course_id)
|
||||
{
|
||||
var homework_common_type = "";
|
||||
if($("#homework_detail_manual_radio").attr("checked") == "checked"){
|
||||
homework_common_type = "homework_detail_manual";
|
||||
}
|
||||
else if($("#homework_detail_programing_radio").attr("checked") == "checked"){
|
||||
homework_common_type = "homework_detail_programing";
|
||||
}
|
||||
else{
|
||||
alert("未知错误,请联系管理员");
|
||||
return;
|
||||
}
|
||||
$.get(
|
||||
url,
|
||||
{
|
||||
course: course_id,
|
||||
homework_common_type: homework_common_type
|
||||
},
|
||||
function (data) {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
//新建作业,上一步按钮
|
||||
function return_homework_common_type()
|
||||
{
|
||||
$("#homework_detail_manual").hide();
|
||||
$("#homework_detail_programing").hide();
|
||||
$("#hwork_new").show();
|
||||
}
|
||||
|
||||
//验证新建作业的名字
|
||||
function regex_homework_name()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue