This commit is contained in:
daiao 2017-03-21 15:20:03 +08:00
parent cb31eecb07
commit 50f5c4a735
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
<% if params[:extend] == 'false' %>
$("#myshixun_repository").html('<%= escape_javascript(render :partial => 'games/myshixun_repository') %>');
$("#myshixun_extend_repository").html('<%= escape_javascript(render :partial => 'games/myshixun_extend_repository') %>');
<% elsif params[:extend].nil? %>
$("#content_list").html('<%= escape_javascript(render :partial => 'games/game_show') %>');
<% else %>
$("#myshixun_extend_repository").html('<%= escape_javascript(render :partial => 'games/myshixun_extend_repository') %>');
$("#myshixun_repository").html('<%= escape_javascript(render :partial => 'games/myshixun_repository') %>');