Bug 31407: Set focus for cursor to Currency when adding a new currency
This makes sure that the focus is on the first field of the form when adding a new currency. To test: * Go to administration > currencies * Add a new currency * Verify the focus is not on the form * Apply patch * Repeat, verify the focus is now on the first input "currency" Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commitfcb19865e8) Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com> (cherry picked from commit1d19b62a24) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commitf09eed687c) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
97b330ab40
commit
a33e833fe0
|
|
@ -111,7 +111,7 @@
|
|||
<input type="hidden" name="currency_code" id="currency" value="[% currency.currency | html %]" />[% currency.currency | html %]
|
||||
[% ELSE %]
|
||||
<label for="currency_code" class="required">Currency: </label>
|
||||
<input type="text" name="currency_code" id="currency_code" size="50" maxlength="50" required="required" class="required" /> <span class="required">Required</span>
|
||||
<input type="text" name="currency_code" id="currency_code" class="focus" size="50" maxlength="50" required="required" class="required" /> <span class="required">Required</span>
|
||||
[% END %]
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue