Bug 31398 - Set focus for cursor to framework code field when creating a new authority type
Summary: Set focus for cursor to framework code field when creating a new authority type
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Katrin Fischer
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 31411
  Show dependency treegraph
 
Reported: 2022-08-18 20:32 UTC by Katrin Fischer
Modified: 2023-12-28 20:42 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement sets the focus on the first input field for the new authority type form.
Version(s) released in:
22.11.00
Circulation function:


Attachments
Bug 31398: Set focus on first input when adding a new authority type (1.68 KB, patch)
2022-08-18 20:42 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 31398: Set focus on first input when adding a new authority type (1.73 KB, patch)
2022-08-18 21:07 UTC, David Nind
Details | Diff | Splinter Review
Bug 31398: Set focus on first input when adding a new authority type (1.78 KB, patch)
2022-09-02 14:35 UTC, Kyle M Hall (khall)
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 20:32:34 UTC

    
Comment 1 Katrin Fischer 2022-08-18 20:42:56 UTC
Created attachment 139425 [details] [review]
Bug 31398: Set focus on first input when adding a new authority type

When adding a new authority type the focus should be on the
first field of the input form: Authority type

* Add a new authority type from administration > authority types
* Verify the focus is not on any of the form fields/inputs
* Apply patch
* Add another new authority type
* Verify the focus/cursor is now in the Authority type field
Comment 2 David Nind 2022-08-18 21:07:47 UTC
Created attachment 139431 [details] [review]
Bug 31398: Set focus on first input when adding a new authority type

When adding a new authority type the focus should be on the
first field of the input form: Authority type

* Add a new authority type from administration > authority types
* Verify the focus is not on any of the form fields/inputs
* Apply patch
* Add another new authority type
* Verify the focus/cursor is now in the Authority type field

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 Kyle M Hall (khall) 2022-09-02 14:35:55 UTC
Created attachment 140156 [details] [review]
Bug 31398: Set focus on first input when adding a new authority type

When adding a new authority type the focus should be on the
first field of the input form: Authority type

* Add a new authority type from administration > authority types
* Verify the focus is not on any of the form fields/inputs
* Apply patch
* Add another new authority type
* Verify the focus/cursor is now in the Authority type field

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 4 Tomás Cohen Arazi (tcohen) 2022-09-07 20:46:24 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!