1.解决“搜索课程--加入课程:输入正确的课程密码,点击确认按钮无反应”的bug
This commit is contained in:
parent
e13d157f7f
commit
8e38fa65aa
|
@ -18,6 +18,13 @@
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function clickCanel(){hideModal("#popbox02");}
|
function clickCanel(){hideModal("#popbox02");}
|
||||||
|
function clickSure()
|
||||||
|
{
|
||||||
|
if ($('#new_join_course').submit())
|
||||||
|
{
|
||||||
|
hideModal("#popbox02");
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -33,7 +40,7 @@
|
||||||
<label>请输入课程密码:</label>
|
<label>请输入课程密码:</label>
|
||||||
<%= text_field_tag 'course_password', nil, :style=>'width:300px;'%>
|
<%= text_field_tag 'course_password', nil, :style=>'width:300px;'%>
|
||||||
<div class="ni_btn">
|
<div class="ni_btn">
|
||||||
<a href="javascript:" class="tijiao" onclick="$('#new_join_course').submit();" >
|
<a href="javascript:" class="tijiao" onclick="clickSure();" >
|
||||||
确 定
|
确 定
|
||||||
</a>
|
</a>
|
||||||
<a href="javascript:" class="tijiao" onclick="clickCanel();">
|
<a href="javascript:" class="tijiao" onclick="clickCanel();">
|
||||||
|
|
Loading…
Reference in New Issue