mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Turn clear into a button, to avoid it being the default submit http://virtualmin.com/node/26704
This commit is contained in:
@@ -18,7 +18,8 @@ close(COMMANDS);
|
||||
if (@commands) {
|
||||
print &ui_table_row($text{'index_old'},
|
||||
&ui_select("old", undef, [ &unique(@commands) ])." ".
|
||||
&ui_submit($text{'index_clear'}, "clear"));
|
||||
&ui_button($text{'index_clear'}, "clear", undef,
|
||||
"onClick='window.location = \"run.cgi?clear=1\"'"));
|
||||
}
|
||||
|
||||
@opts = ( [ "ALL", $text{'index_all'} ],
|
||||
|
||||
Reference in New Issue
Block a user