[Bug 27191] New: Set focus for cursor to category code input box when creating new patron categories
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Bug ID: 27191 Summary: Set focus for cursor to category code input box when creating new patron categories Change sponsored?: --- Product: Koha Version: 20.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: barbara.johnson@bedfordtx.gov QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com When adding a new patron category on categories.pl you have to click in the category code input box, which is a required field, so that you can enter text. It would be more efficient to set the focus for the cursor to always be in the category code input box so that you could just begin typing and eliminate an extra click. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|System Administration |Templates Version|20.05 |master Assignee|koha-bugs@lists.koha-commun |oleonard@myacpl.org |ity.org | See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=26694 Keywords| |Academy -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Victoria Faafia <vfaafia29@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vfaafia29@gmail.com Status|NEW |ASSIGNED Assignee|oleonard@myacpl.org |vfaafia29@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Victoria Faafia <vfaafia29@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 --- Comment #1 from Victoria Faafia <vfaafia29@gmail.com> --- Created attachment 115283 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115283&action=edit bug 27191: Set focus for cursor to category code input box when creating new patron categories 1-Go to admin>patroncategories>newcategory 2-The category code box should be green and already have the cursor inside without you clicking on it 3-Refresh page to double check the cursor automatically goes to the category code box -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 PTFS Europe Sandboxes <sandboxes@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #115283|0 |1 is obsolete| | --- Comment #2 from PTFS Europe Sandboxes <sandboxes@ptfs-europe.com> --- Created attachment 115313 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115313&action=edit bug 27191: Set focus for cursor to category code input box when creating new patron categories 1-Go to admin>patroncategories>newcategory 2-The category code box should be green and already have the cursor inside without you clicking on it 3-Refresh page to double check the cursor automatically goes to the category code box Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Sally <sally.healey@cheshiresharedservices.gov.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |sally.healey@cheshireshared | |services.gov.uk --- Comment #3 from Sally <sally.healey@cheshiresharedservices.gov.uk> --- Works as described. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #115313|0 |1 is obsolete| | --- Comment #4 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 115598 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115598&action=edit Bug 27191: Set focus for cursor to category code input box when creating new patron categories 1-Go to admin>patroncategories>newcategory 2-The category code box should be green and already have the cursor inside without you clicking on it 3-Refresh page to double check the cursor automatically goes to the category code box Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Failed QA CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Focus must be put using the "focus" class instead. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|kyle@bywatersolutions.com |testopia@bugs.koha-communit | |y.org Assignee|vfaafia29@gmail.com |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #115598|0 |1 is obsolete| | --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 139420 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139420&action=edit Bug 27191: Set focus on first input when adding a new patron category When adding a new patron category, the focus/cursor should be in the first input field of the form: Category code To test: * Add a new patron category in administration > patron categories - cursur is in no field * Apply patch * Add another new patron category - cursor is now in the first input field of the form: Category code -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I implemented the standard solution for setting the focus using the CSS class as suggested in comment#5. As both patches were one line fixes mine replaces Victoria's previous patch. I didn't see a better way, if you prefer this as a follow-up, please let me know. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139420|0 |1 is obsolete| | --- Comment #8 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 139423 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139423&action=edit Bug 27191: Set focus on first input when adding a new patron category When adding a new patron category, the focus/cursor should be in the first input field of the form: Category code To test: * Add a new patron category in administration > patron categories - cursur is in no field * Apply patch * Add another new patron category - cursor is now in the first input field of the form: Category code Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139423|0 |1 is obsolete| | --- Comment #9 from David Nind <david@davidnind.com> --- Created attachment 139426 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139426&action=edit Bug 27191: Set focus on first input when adding a new patron category When adding a new patron category, the focus/cursor should be in the first input field of the form: Category code To test: * Add a new patron category in administration > patron categories - cursur is in no field * Apply patch * Add another new patron category - cursor is now in the first input field of the form: Category code Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Text to go in the| |This updates the new patron release notes| |category input form so that | |the cursor focus is on the | |category code input field. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #139426|0 |1 is obsolete| | --- Comment #10 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 140159 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140159&action=edit Bug 27191: Set focus on first input when adding a new patron category When adding a new patron category, the focus/cursor should be in the first input field of the form: Category code To test: * Add a new patron category in administration > patron categories - cursur is in no field * Apply patch * Add another new patron category - cursor is now in the first input field of the form: Category code Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.11.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27191 --- Comment #11 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 22.11. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org