api: Accept empty line in diffs, fix issue57
author |
Benoit Allard <benoit@aeteurope.nl> |
date |
Wed, 28 Jul 2010 15:48:43 +0200 |
parents |
5668dd3e0a95 |
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();
});
});