about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ui-shared.c2
-rw-r--r--ui-stats.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index 770b685..2c88b72 100644 --- a/ui-shared.c +++ b/ui-shared.c
@@ -937,7 +937,7 @@ static void print_header(void)
937 cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); 937 cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
938 if (ctx.env.authenticated) { 938 if (ctx.env.authenticated) {
939 html("</td><td class='form'>"); 939 html("</td><td class='form'>");
940 html("<form method='get' action=''>\n"); 940 html("<form method='get'>\n");
941 cgit_add_hidden_formfields(0, 1, ctx.qry.page); 941 cgit_add_hidden_formfields(0, 1, ctx.qry.page);
942 html("<select name='h' onchange='this.form.submit();'>\n"); 942 html("<select name='h' onchange='this.form.submit();'>\n");
943 for_each_branch_ref(print_branch_option, ctx.qry.head); 943 for_each_branch_ref(print_branch_option, ctx.qry.head);
diff --git a/ui-stats.c b/ui-stats.c index 8cd9178..7acd358 100644 --- a/ui-stats.c +++ b/ui-stats.c
@@ -389,7 +389,7 @@ void cgit_show_stats(void)
389 cgit_print_layout_start(); 389 cgit_print_layout_start();
390 html("<div class='cgit-panel'>"); 390 html("<div class='cgit-panel'>");
391 html("<b>stat options</b>"); 391 html("<b>stat options</b>");
392 html("<form method='get' action=''>"); 392 html("<form method='get'>");
393 cgit_add_hidden_formfields(1, 0, "stats"); 393 cgit_add_hidden_formfields(1, 0, "stats");
394 html("<table><tr><td colspan='2'/></tr>"); 394 html("<table><tr><td colspan='2'/></tr>");
395 if (ctx.repo->max_stats > 1) { 395 if (ctx.repo->max_stats > 1) {