# HG changeset patch # User Steve Losh # Date 1276410946 14400 # Node ID 0d78b56ae9aa62ba270a7da8439558636c600a97 # Parent 444f6ef08d882a8d5142d74e4a1dfc78098bf391 web: make the submit buttons work diff -r 444f6ef08d88 -r 0d78b56ae9aa review/static/ui.js --- a/review/static/ui.js Sun Jun 13 02:31:31 2010 -0400 +++ b/review/static/ui.js Sun Jun 13 02:35:46 2010 -0400 @@ -13,4 +13,7 @@ }); return false; }); + $(".submit").live('click', function() { + $(this).closest("form").submit(); + }); }); diff -r 444f6ef08d88 -r 0d78b56ae9aa review/templates/changeset.html --- a/review/templates/changeset.html Sun Jun 13 02:31:31 2010 -0400 +++ b/review/templates/changeset.html Sun Jun 13 02:35:46 2010 -0400 @@ -94,7 +94,11 @@ - Add Signoff + {% if cu_signoff %} + Change Signoff + {% else %} + Add Signoff + {% endif %} Cancel