2015-10-28 10:58:37 +08:00
|
|
|
<% if @in_user_center%>
|
|
|
|
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/user_blog', :locals => {:activity => @article,:user_activity_id =>@user_activity_id}) %>");
|
2016-01-05 17:01:41 +08:00
|
|
|
// init_activity_KindEditor_data(<%#= @user_activity_id%>,"","87%", 'UserActivity');
|
2015-10-28 10:58:37 +08:00
|
|
|
<% else%>
|
2015-11-04 10:45:02 +08:00
|
|
|
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'blogs/article', :locals => {:activity => @article,:user_activity_id =>@user_activity_id}) %>");
|
2016-01-05 17:01:41 +08:00
|
|
|
//init_activity_KindEditor_data(<%#= @user_activity_id%>,"","87%", 'UserActivity');
|
|
|
|
<% end %>
|
2016-01-29 16:55:07 +08:00
|
|
|
sd_create_editor_from_data(<%= @user_activity_id%>,"","100%", 'UserActivity');
|