Bug 31414: Set focus to name in additional fields.

Focus is set to name on additional fields on
administation add fields.

Test plan
1. Go to administation and manange additional
fields.
2. If you then add field the focus should
automatically go to the field name.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Isobel Graham 2022-11-06 14:28:42 +00:00 committed by Tomas Cohen Arazi
parent 55bc39cb3e
commit d2a72dfea4
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@
<ol>
<li>
<label for="name" class="required">Name: </label>
<input type="text" name="name" id="name" value="[% field.name | html %]" class="required" required="required" />
<input type="text" name="name" id="name" value="[% field.name | html %]" class="focus" required="required" />
<span class="required">Required</span>
</li>
<li>