]> git.openstreetmap.org Git - rails.git/blob - app/views/message/mark.js.erb
Avoid mass assignment error in spam observer
[rails.git] / app / views / message / mark.js.erb
1 $("#inboxanchor").replaceWith("<%=j render :partial => "layouts/inbox" %>");
2 $("#inbox-count").replaceWith("<%=j render :partial => "message_count" %>");
3 $("#inbox-<%= @message.id %>").replaceWith("<%=j render :partial => "message_summary", :object => @message %>");