From 715a70b843cfe74ecb342376d679a5c68640c8f3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 06 2020 08:44:15 +0000 Subject: [PATCH 1/2] Make the reset button not the default action of the form Basically, if you enter a value in the form and press the "enter" key, the first/default submit button of the form is triggered. This meant in this case that the "reset" action was the one triggered by default. With this change, we make the reset button be of type "button" instead of being of type "submit", thus making it not the default action while still looking pretty. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/themes/srcfpo/templates/repo_master_sidebar.html b/pagure/themes/srcfpo/templates/repo_master_sidebar.html index 9a94910..62615cc 100644 --- a/pagure/themes/srcfpo/templates/repo_master_sidebar.html +++ b/pagure/themes/srcfpo/templates/repo_master_sidebar.html @@ -205,7 +205,7 @@