1.解决“搜索课程--加入课程:输入正确的课程密码,点击确认按钮无反应”的bug

This commit is contained in:
ouyangxuhua 2015-10-27 15:32:38 +08:00
parent e13d157f7f
commit 8e38fa65aa
1 changed files with 8 additions and 1 deletions

View File

@ -18,6 +18,13 @@
<script type="text/javascript">
function clickCanel(){hideModal("#popbox02");}
function clickSure()
{
if ($('#new_join_course').submit())
{
hideModal("#popbox02");
}
}
</script>
</head>
@ -33,7 +40,7 @@
<label>请输入课程密码:</label>
<%= text_field_tag 'course_password', nil, :style=>'width:300px;'%>
<div class="ni_btn">
<a href="javascript:" class="tijiao" onclick="$('#new_join_course').submit();" >
<a href="javascript:" class="tijiao" onclick="clickSure();" >
确&nbsp;&nbsp;定
</a>
<a href="javascript:" class="tijiao" onclick="clickCanel();">