过关后,点击下一关还原效果
This commit is contained in:
parent
b708e2f0cc
commit
e86bfedaa0
|
|
@ -6,7 +6,7 @@
|
|||
<div class="task-su-con">
|
||||
<% if had_done == 0 %>
|
||||
<p class="task-su-p">恭喜您通过本关</p>
|
||||
<%= link_to "下 一 关", {:controller => 'games', :action => "next_step", :id => game, :myshixun_id => myshixun}, :class => "task-su-btn", :remote => true %>
|
||||
<%= link_to "下 一 关", {:controller => 'games', :action => "next_step", :id => game, :myshixun_id => myshixun}, :class => "task-su-btn", :onclick => "hideModal();", :remote => true %>
|
||||
<% else %>
|
||||
<a href="<%= myshixun_game_path(myshixun, :index => 1) %>" class="task-su-btn-white mt50" onclick="hideModal();" data-remote="true">查看光辉历史</a>
|
||||
<% end %>
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@
|
|||
$("#all_task_show").html("<%= j (render :partial => "games_list") %>");
|
||||
$("#all_task_tab").trigger("click"); // 模拟全部任务点击事件
|
||||
<% end %>
|
||||
hideModal();
|
||||
Loading…
Reference in New Issue