课程首页:加入课程,加入失败继续显示加入课程弹框
This commit is contained in:
parent
17294ec7ae
commit
4af3a28eab
|
@ -32,7 +32,6 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function submit_form(obj)
|
function submit_form(obj)
|
||||||
{
|
{
|
||||||
hideModal(obj);
|
|
||||||
$("#new-watcher-form").submit();
|
$("#new-watcher-form").submit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<% if @state %>
|
<% if @state %>
|
||||||
<% if @state == 0 %>
|
<% if @state == 0 %>
|
||||||
alert("加入成功");
|
alert("加入成功");
|
||||||
hideModal("#popbox02");
|
hideModal($("#popbox"));
|
||||||
<% elsif @state == 1 %>
|
<% elsif @state == 1 %>
|
||||||
alert("密码错误");
|
alert("密码错误");
|
||||||
<% elsif @state == 2 %>
|
<% elsif @state == 2 %>
|
||||||
|
|
Loading…
Reference in New Issue