diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Remove the auto-submitting selects
Diffstat (limited to 'source/ui-stats.c')
| -rw-r--r-- | source/ui-stats.c | 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 3 insertions, 3 deletions
diff --git a/source/ui-stats.c b/source/ui-stats.c index 97918e0..5b36f54 100644 --- a/source/ui-stats.c +++ b/source/ui-stats.c @@ -385,7 +385,7 @@ static void print_options_form(const struct cgit_period *period, int top) if (ctx.repo->max_stats > 1) { choices = ctx.repo->max_stats; html("<tr><td class='label'>Period:</td>"); - html("<td class='ctrl'><select name='period' data-autosubmit='1'>"); + html("<td class='ctrl'><select name='period'>"); for (i = 0; i < choices; i++) html_option(cgit_fmt("%c", periods[i].code), periods[i].name, @@ -393,7 +393,7 @@ static void print_options_form(const struct cgit_period *period, int top) html("</select></td></tr>\n"); } html("<tr><td class='label'>Authors:</td>"); - html("<td class='ctrl'><select name='ofs' data-autosubmit='1'>"); + html("<td class='ctrl'><select name='ofs'>"); html_intoption(10, "10", top); html_intoption(25, "25", top); html_intoption(50, "50", top); @@ -401,7 +401,7 @@ static void print_options_form(const struct cgit_period *period, int top) html_intoption(-1, "all", top); html("</select></td></tr>\n"); html("<tr><td></td><td class='ctrl'>"); - html("<noscript><input type='submit' value='Reload'></noscript>"); + html("<input type='submit' value='reload'>"); html("</td></tr></table>"); html("</form>\n"); html("</div>\n"); |
