review/web_media/comments.js @ ac324e064f82
Don't give away the repo filesystem path in the web UI footer.
Now that we have a read-only mode people might want to expose the web UI to
the world. We shouldn't display sensitive data on the pages any more.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 27 Mar 2010 12:11:12 -0400 |
parents |
6df093d9f238 |
children |
f841259cc87e |
$(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.commentable,tr.add.commentable,tr.con.commentable").click(function(event) {
$(event.target).closest("tr").addClass("comment-line-selected");
$(event.target).closest("tr").nextAll("tr.comment-line").first().fadeIn("fast");
return false;
});
});