Unverified Commit 54220789 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(forms) Add a hidden submit at beginning of form

This avoids problems when submitting forms using enter.
In management pages it would reset the base to root as the root button
 was the first submit in the form.

issue #6033
Showing with 1 addition and 0 deletions
+1 -0
......@@ -3,6 +3,7 @@
{$game_screen}
{$php_errors}
<form action="main.php{$plug}" name="mainform" id="mainform" method="post" enctype="multipart/form-data">
<div style="width: 0; height: 0; overflow: hidden;"><input type="submit" name="default_submit_hidden_button"/></div>
<div class="setup-header">
<div id="header-left">
<img id="fd-logo" class="optional" src="geticon.php?context=applications&amp;icon=fusiondirectory&amp;size=48" alt="FusionDirectory logo"/>
......
  • bmortier @bmortier

    mentioned in issue #6072 (closed)

    By Côme Chilliet on 2020-02-18T15:53:04 (imported from GitLab)

    ·

    mentioned in issue #6072 (closed)

    By Côme Chilliet on 2020-02-18T15:53:04 (imported from GitLab)

    Toggle commit list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment