]> git.openstreetmap.org Git - rails.git/blob - app/views/message/delete.js.erb
Disable forgery protection for notes API methods
[rails.git] / app / views / message / delete.js.erb
1 $("#inboxanchor").replaceWith("<%=j render :partial => "layouts/inbox" %>");
2 $("#inbox-count").replaceWith("<%=j render :partial => "message_count" %>");
3 $("#inbox-<%= @message.id %>").fadeOut(800, "linear", function () {
4   $(this).remove();
5 });