Bug 31397 - Set focus for cursor to framework code field when creating a new bibliographic framework
Summary: Set focus for cursor to framework code field when creating a new bibliographi...
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Katrin Fischer
QA Contact: Kyle M Hall
URL:
Keywords:
Depends on:
Blocks: 31411
  Show dependency treegraph
 
Reported: 2022-08-18 20:22 UTC by Katrin Fischer
Modified: 2023-12-28 20:42 UTC (History)
2 users (show)

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


Attachments
Bug 31397: Set focus in first input when adding a new bibliographic framework (1.73 KB, patch)
2022-08-18 20:28 UTC, Katrin Fischer
Details | Diff | Splinter Review
Bug 31397: Set focus in first input when adding a new bibliographic framework (1.78 KB, patch)
2022-08-18 21:14 UTC, David Nind
Details | Diff | Splinter Review
Bug 31397: Set focus in first input when adding a new bibliographic framework (1.79 KB, patch)
2022-08-18 21:14 UTC, ByWater Sandboxes
Details | Diff | Splinter Review
Bug 31397: Set focus in first input when adding a new bibliographic framework (1.85 KB, patch)
2022-09-02 14:31 UTC, Kyle M Hall
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: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!