<% if @save_succ %> $('#journal_reply_ul_<%=@jfm.m_parent_id%>').append( '<%= j( render :partial => "words/journal_reply_items", :locals => {:reply => @jfm, :journal => @jfm.parent, :m_reply_id => @jfm.id} ) %>'); $('#project_respond_form_<%=@jfm.m_reply_id.to_s%> textarea').val(''); $('#project_respond_form_<%=@jfm.m_reply_id.to_s%>').hide(); <% else %> alert("<%= l(:label_feedback_fail) %>"); <% end %>