socialforge/app/views/memos/update.js.erb

5 lines
167 B
Plaintext
Raw Normal View History

<% if @flag%>
window.location.href='<%= forum_memo_path(:forum_id=>@memo.forum_id,:id=>@memo.id ) %>'
<%else%>
$("#error").html('内容填写存在错误');
<% end %>