编辑的时候局部刷新

This commit is contained in:
huang 2016-12-30 22:11:16 +08:00
parent 6360f9419f
commit 0c8dff30a8
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<%= content_for(:header_tags) do %>
<%= import_ke(enable_at: false, prettify: false, init_activity: false) %>
<% end %>
<div class="banner-big f16 fontGrey3 mb10"><%= link_to "问吧", forums_path, :class => "c_blue" %> > <%= @forum.name %></div>
<div class="banner-big f16 fontGrey3 mb10"><%= link_to "问吧", forums_path, :class => "c_blue" %> > <span id="show_forum_name"><%= @forum.name %></span></div>
<div class="postRightContainer mr10">
<div class="postDetailBanner" style="padding-bottom: 10px">

View File

@ -1 +1,2 @@
$("#my_count_message").html('<%= escape_javascript( render :partial => 'memos/my_count_message') %>');
$("#my_count_message").html('<%= escape_javascript( render :partial => 'memos/my_count_message') %>');
$("#show_forum_name").html('<%= @forum.name %>');