review/web_media/comments.js @ 1133505b5b04
Remove the confusing local-path functionality. Review data is now under .hg/review. The lpath is still available in the API in case anyone wants to use it, but we will default to .hg/review for now.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 02 Mar 2010 19:35:19 -0500 |
| parents | 2e65351af702 |
| children | 15de5872c830 |
$(function() { $("div > form").hide(); $("tr:has(form)").hide(); $("p.comment-activate a").click(function(event) { $(event.target).hide(); $(event.target).closest("div").children("form").fadeIn("fast"); return false; }); $("tr.rem, tr.add, tr.con").click(function(event) { $(event.target).closest("tr").addClass("comment-line-selected"); $(event.target).closest("tr").next("tr.comment-line").fadeIn("fast"); return false; }); });