加入项目:加入失败不关闭加入项目弹框

This commit is contained in:
sw 2015-06-13 09:53:46 +08:00
parent f2c87f198d
commit 17294ec7ae
2 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,7 @@
alert("<%= l('project.join.tips.repeat') %>"); alert("<%= l('project.join.tips.repeat') %>");
<% elsif @status == 2%> <% elsif @status == 2%>
alert("<%= l('project.join.tips.success') %>"); alert("<%= l('project.join.tips.success') %>");
hideModal($("#popbox"));
<% elsif @status == 3%> <% elsif @status == 3%>
alert("<%= l('project.join.tips.has') %>"); alert("<%= l('project.join.tips.has') %>");
<%else%> <%else%>

View File

@ -31,7 +31,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();
// alert("申请成功"); // alert("申请成功");
} }