Bug 31409: Set focus for cursor to Fund code when adding a new fund
This makes sure that the focus is on the first input field of the form when adding or editing a fund. To test: * Go to administration > funds * Add a new fund to the budget * Verify the focus is not inside the form * Apply patch * Verify the focus is now in the first form field "Fund code" Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
aaa5bcd16b
commit
6d743dd63e
1 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@
|
|||
[% END %]
|
||||
<li>
|
||||
<label class="required" for="budget_code">Fund code: </label>
|
||||
<input type="text" name="budget_code" id="budget_code" value="[% budget_code | html %]" size="30" />
|
||||
<input type="text" name="budget_code" id="budget_code" class="focus" value="[% budget_code | html %]" size="30" />
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue