review/static/scripts/ui.js @ 627b1d4e0fa3
issue-93
[index] Add the owner of the cset in a td beetween id and description
author |
Alain Begey <alain@unlish.com> |
date |
Sat, 15 Nov 2014 20:01:13 +0100 |
parents |
3fe8d9b6705b |
children |
(none) |
$(function() {
$("a.fold").toggle(function(event) {
$(event.target).closest(".file").find(".file-review-contents").slideUp("fast", function () {
$(event.target).closest("h3").find(".status").html("→");
});
return false;
}, function(event) {
$(event.target).closest(".file").find(".file-review-contents").slideDown("fast", function() {
$(event.target).closest("h3").find(".status").html("↓");
});
return false;
});
$(".submit").live('click', function() {
$(this).closest("form").submit();
});
});