Bug 31397

Summary: Set focus for cursor to framework code field when creating a new bibliographic framework
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: TemplatesAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Kyle M Hall <kyle>
Severity: enhancement    
Priority: P5 - low CC: david, kyle
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 cursor focus on the first input field (Framework code) for the new bibliographic framework form.
Version(s) released in:
22.11.00
Bug Depends on:    
Bug Blocks: 31411    
Attachments: Bug 31397: Set focus in first input when adding a new bibliographic framework
Bug 31397: Set focus in first input when adding a new bibliographic framework
Bug 31397: Set focus in first input when adding a new bibliographic framework
Bug 31397: Set focus in first input when adding a new bibliographic framework

Description Katrin Fischer 2022-08-18 20:22:55 UTC

    
Comment 1 Katrin Fischer 2022-08-18 20:28:17 UTC
Created attachment 139421 [details] [review]
Bug 31397: Set focus in first input when adding a new bibliographic framework

When adding a new bibliographic framework, the focus/cursor should be
in the first input field of the form: Framework code

To test:
* Add a new bibliographic framework from adminsitration > bibliographic
  MARC frameworks
  - cursur is in no field
* Apply patch
* Add another new framework
  - cursor is now in the first input field of the form: Framework code
Comment 2 David Nind 2022-08-18 21:14:01 UTC
Created attachment 139433 [details] [review]
Bug 31397: Set focus in first input when adding a new bibliographic framework

When adding a new bibliographic framework, the focus/cursor should be
in the first input field of the form: Framework code

To test:
* Add a new bibliographic framework from adminsitration > bibliographic
  MARC frameworks
  - cursur is in no field
* Apply patch
* Add another new framework
  - cursor is now in the first input field of the form: Framework code

https://bugs.koha-community.org/show_bug.cgi?id=27191

Signed-off-by: David Nind <david@davidnind.com>
Comment 3 ByWater Sandboxes 2022-08-18 21:14:49 UTC
Created attachment 139434 [details] [review]
Bug 31397: Set focus in first input when adding a new bibliographic framework

When adding a new bibliographic framework, the focus/cursor should be
in the first input field of the form: Framework code

To test:
* Add a new bibliographic framework from adminsitration > bibliographic
  MARC frameworks
  - cursur is in no field
* Apply patch
* Add another new framework
  - cursor is now in the first input field of the form: Framework code

https://bugs.koha-community.org/show_bug.cgi?id=27191

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 4 Kyle M Hall 2022-09-02 14:31:29 UTC
Created attachment 140153 [details] [review]
Bug 31397: Set focus in first input when adding a new bibliographic framework

When adding a new bibliographic framework, the focus/cursor should be
in the first input field of the form: Framework code

To test:
* Add a new bibliographic framework from adminsitration > bibliographic
  MARC frameworks
  - cursur is in no field
* Apply patch
* Add another new framework
  - cursor is now in the first input field of the form: Framework code

https://bugs.koha-community.org/show_bug.cgi?id=27191

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

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

Nice work everyone, thanks!