]> git.openstreetmap.org Git - rails.git/blob - app/views/message/delete.js.erb
Implement context menu with: directions, add note, describe, centre.
[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 });