]> git.openstreetmap.org Git - rails.git/blob - app/views/messages/destroy.js.erb
Rename messages#delete to destroy
[rails.git] / app / views / messages / destroy.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 });