review/web_media/comments.js @ f11f57ebfb98
webui
Add the update command to the README, for now.
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 09 Nov 2009 20:38:28 -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;
});
});