about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJason A. Donenfeld2016-05-12 21:38:59 +0200
committerJason A. Donenfeld2016-05-12 21:39:06 +0200
commit21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d (patch)
tree7edd6e5cad9625e7b54b66191ee04792539b62a4
parentforms: action should not be empty (diff)
downloadcgit-21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d.tar.gz
cgit-21bf30b043c5bcbf4bb92d7e79cb642ab9c2287d.zip
ui-diff: action='.' is not correct
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ui-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-diff.c b/ui-diff.c index 52ed942..edee793 100644 --- a/ui-diff.c +++ b/ui-diff.c
@@ -340,7 +340,7 @@ void cgit_print_diff_ctrls(void)
340 340
341 html("<div class='cgit-panel'>"); 341 html("<div class='cgit-panel'>");
342 html("<b>diff options</b>"); 342 html("<b>diff options</b>");
343 html("<form method='get' action='.'>"); 343 html("<form method='get'>");
344 cgit_add_hidden_formfields(1, 0, ctx.qry.page); 344 cgit_add_hidden_formfields(1, 0, ctx.qry.page);
345 html("<table>"); 345 html("<table>");
346 html("<tr><td colspan='2'/></tr>"); 346 html("<tr><td colspan='2'/></tr>");