Bug 31398

Summary: Set focus for cursor to framework code field when creating a new authority type
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david
Version: Main   
Hardware: All   
OS: All   
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
Bug Depends on:    
Bug Blocks: 31411    
Attachments: Bug 31398: Set focus on first input when adding a new authority type
Bug 31398: Set focus on first input when adding a new authority type
Bug 31398: Set focus on first input when adding a new authority type

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 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 2022-09-07 20:46:24 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!