| Summary: | Set focus for cursor to Code when adding a new restriction | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
| Component: | Staff interface | Assignee: | Owen Leonard <oleonard> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | gmcharlt, lucas |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | Trivial patch | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: |
23.05.00,22.11.04
|
Circulation function: | |
| Bug Depends on: | |||
| Bug Blocks: | 31411 | ||
| Attachments: |
Bug 32886: Set focus for cursor to Code when adding a new restriction
Bug 32886: Set focus for cursor to Code when adding a new restriction Bug 32886: Set focus for cursor to Code when adding a new restriction |
||
|
Description
Katrin Fischer
2023-02-05 00:26:32 UTC
focus class is not working in this case - hints appreciated. Created attachment 146330 [details] [review] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field. Created attachment 146336 [details] [review] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> (In reply to Katrin Fischer from comment #1) > focus class is not working in this case - hints appreciated. Huh, not sure what I did there, it works after all! Created attachment 147363 [details] [review] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Pushed to master for 23.05. Nice work everyone, thanks! Nice work everyone! Pushed to stable for 22.11.x Doesn't apply clean in 22.05.x, no backport |