]> git.openstreetmap.org Git - rails.git/blob - app/views/message/mark.js.erb
Guard against non-numeric lat and lons in nodes and notes
[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 <% if @message.message_read? -%>
4 $("#inbox-<%= @message.id %>").removeClass("inbox-row-unread").addClass("inbox-row");
5 <% else -%>
6 $("#inbox-<%= @message.id %>").removeClass("inbox-row").addClass("inbox-row-unread");
7 <% end -%>