Bug 27802 - Set focus for cursor on first input field when adding a cash register
Summary: Set focus for cursor on first input field when adding a cash register
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Alex Buckley
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks: 31411
  Show dependency treegraph
 
Reported: 2021-02-26 08:20 UTC by Katrin Fischer
Modified: 2023-06-08 22:26 UTC (History)
2 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
22.11.00


Attachments
Bug 27802: Set cursor focus in first input when adding a cash register (1.59 KB, patch)
2022-08-16 00:44 UTC, Alex Buckley
Details | Diff | Splinter Review
Bug 27802: Set cursor focus in first input when adding a cash register (1.64 KB, patch)
2022-08-18 18:33 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 27802: Set cursor focus in first input when adding a cash register (1.69 KB, patch)
2022-08-18 19:36 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2021-02-26 08:20:58 UTC
When adding a new cash register, the focus is not on the first input field requiring an additional click.

To test:
- Turn on the UseCashRegisters system preference
- Go to administration > cash registers
- Click on 'new cash register'
- Verify you can't type into the 'Name' input field without clicking into it first
Comment 1 Alex Buckley 2022-08-16 00:44:25 UTC
Created attachment 139166 [details] [review]
Bug 27802: Set cursor focus in first input when adding a cash register

Test plan:
1. Visit Administration > Accounting > Cash registers and notice the
cursor is not focussed in the first input field (Name)

2. Apply patch

3. Refresh the new cash registers page and confirm your cursor is
focussed in the first input field (name)

Sponsored-by: Catalyst IT, New Zealand
Comment 2 Owen Leonard 2022-08-18 18:33:08 UTC
Created attachment 139413 [details] [review]
Bug 27802: Set cursor focus in first input when adding a cash register

Test plan:
1. Visit Administration > Accounting > Cash registers and notice the
cursor is not focussed in the first input field (Name)

2. Apply patch

3. Refresh the new cash registers page and confirm your cursor is
focussed in the first input field (name)

Sponsored-by: Catalyst IT, New Zealand

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Katrin Fischer 2022-08-18 19:36:40 UTC
Created attachment 139414 [details] [review]
Bug 27802: Set cursor focus in first input when adding a cash register

Test plan:
1. Visit Administration > Accounting > Cash registers and notice the
cursor is not focussed in the first input field (Name)

2. Apply patch

3. Refresh the new cash registers page and confirm your cursor is
focussed in the first input field (name)

Sponsored-by: Catalyst IT, New Zealand

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi 2022-09-07 20:46:13 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!
Comment 5 Lucas Gass 2022-10-31 19:45:51 UTC
Enhancement will not be included in the 22.05.x series