Bug 31407

Summary: Set focus for cursor to Currency when adding a new currency
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: arthur.suzuki, isobel.graham09, lucas, wainuiwitikapark
Version: MainKeywords: Academy
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.05.00,22.11.03,22.05.10,21.11.18
Bug Depends on:    
Bug Blocks: 31411    
Attachments: Bug 31407: Set focus for cursor to Currency when adding a new currency
Bug 31407: Set focus for cursor to Currency when adding a new currency
Bug 31407: Set focus for cursor to Currency when adding a new currency

Description Katrin Fischer 2022-08-18 21:52:36 UTC
When adding a new currency from administration, the focus/cursor should be in the first field of the entry form: Currency
Comment 1 Katrin Fischer 2023-02-05 00:00:07 UTC
Created attachment 146178 [details] [review]
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"
Comment 2 Owen Leonard 2023-02-06 13:39:17 UTC
Created attachment 146269 [details] [review]
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>
Comment 3 Lucas Gass 2023-02-06 16:14:34 UTC
Created attachment 146288 [details] [review]
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>
Comment 4 Tomás Cohen Arazi 2023-02-07 18:29:16 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 5 Jacob O'Mara 2023-02-08 16:53:06 UTC
Nice work, thanks everyone!

Pushed to 22.11.x for the next release.
Comment 6 Lucas Gass 2023-02-15 21:38:17 UTC
Backported to 22.05.x for upcoming 22.05.10
Comment 7 Arthur Suzuki 2023-02-17 13:03:49 UTC
applied to 21.11.x for 21.11.18
Comment 8 wainuiwitikapark 2023-03-15 02:18:07 UTC
Not backported to 21.05.x