Bug 31407 - Set focus for cursor to Currency when adding a new currency
Summary: Set focus for cursor to Currency when adding a new currency
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Katrin Fischer
QA Contact: Testopia
URL:
Keywords: Academy
Depends on:
Blocks: 31411
  Show dependency treegraph
 
Reported: 2022-08-18 21:52 UTC by Katrin Fischer
Modified: 2023-12-28 20:44 UTC (History)
4 users (show)

See Also:
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


Attachments
Bug 31407: Set focus for cursor to Currency when adding a new currency (1.63 KB, patch)
2023-02-05 00:00 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 31407: Set focus for cursor to Currency when adding a new currency (1.68 KB, patch)
2023-02-06 13:39 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 31407: Set focus for cursor to Currency when adding a new currency (1.74 KB, patch)
2023-02-06 16:14 UTC, Lucas Gass
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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