[Bug 7469] New: Focus on 1st field of creation form instead of search textbox
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Bug #: 7469 Summary: Focus on 1st field of creation form instead of search textbox Classification: Unclassified Change sponsored?: --- Product: Koha Version: master Platform: All OS/Version: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Templates AssignedTo: adrien.saurat@biblibre.com ReportedBy: adrien.saurat@biblibre.com QAContact: koha.sekjal@gmail.com When a user creates a new vendor, a new borrower or a new basket (maybe on others pages too, to be listed), a creation form is displayed, but the focus is still on the search textbox on page top. It would be probably better to switch the focus to the first field of the creation form. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Sophie MEYNIEUX <sophie.meynieux@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sophie.meynieux@biblibre.co | |m Assignee|adrien.saurat@biblibre.com |fridolyn.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 --- Comment #1 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- Created attachment 20128 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20128&action=edit Bug 7469 - Focus on 1st field of creation form instead of search textbox (Acquisition) See commit message. This patch only modifies Acquisition module. For other modules, the search toolbar is mostly on check-out to allow the direct use of a barcode scanner. So modifying the focus may be discussed. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Melia Meggs <melia@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20128|0 |1 is obsolete| | --- Comment #2 from Melia Meggs <melia@bywatersolutions.com> --- Created attachment 20260 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20260&action=edit [Signed off] Bug 7469 - Focus on 1st field of creation form instead of search textbox (Acquisition) I tested these pages and noticed that the focus had shifted from the search box at the top of the screen to the first field on the screen: - acqui/basketgroup.pl : focus on "Basket group name:" - acqui/basketheader.pl : focus on "Basket name:" - acqui/invoices.tt : focus on "Invoice no:" - acqui/modordernotes.pl : focus on "Notes:" - acqui/neworderempty.pl : focus on "Title:" - acqui/supplier.pl : focus on "Name:" - acqui/z3950_search.pl : focus on "Title:" The only one that I'm not sure about is acqui/neworderempty.pl. I'm not sure if I am looking at the correct screen for testing, but I am on this page and the focus is still on the Vendor Search box at the top of the screen: http://staff-melia.test.bywatersolutions.com/cgi-bin/koha/acqui/neworderempty.pl?ordernumber=2&booksellerid=1&basketno=2 Since all of the others listed here worked for me, I am signing off. Could someone else please test acqui/neworderempty to be sure, and if a problem is found, could that one be addressed in a follow up? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Melia Meggs <melia@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |melia@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 --- Comment #3 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 20400 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20400&action=edit Bug 7469 - Focus on 1st field of creation form instead of search textbox (Acquisition) When a user creates a new vendor, a new borrower or a new basket (maybe on others pages too, to be listed), a creation form is displayed, but the focus is still on the search textbox on page top. It would be probably better to switch the focus to the first field of the creation form. This patch adds the focus, for acquisition module, on first input for pages with a data creation or modification or pages with only one form (like Z3950 search). Test plan : Go to pages and look where is the focus : - acqui/basketgroup.pl : focus on "Basket group name:" - acqui/basketheader.pl : focus on "Basket name:" - acqui/invoices.tt : focus on "Invoice no:" - acqui/modordernotes.pl : focus on "Notes:" - acqui/neworderempty.pl : focus on "Title:" - acqui/supplier.pl : focus on "Name:" - acqui/z3950_search.pl : focus on "Title:" Signed-off-by: Melia Meggs <melia@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20260|0 |1 is obsolete| | CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20400|0 |1 is obsolete| | --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 21078 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21078&action=edit Bug 7469 - Focus on 1st field of creation form instead of search textbox (Acquisition) When a user creates a new vendor, a new borrower or a new basket (maybe on others pages too, to be listed), a creation form is displayed, but the focus is still on the search textbox on page top. It would be probably better to switch the focus to the first field of the creation form. This patch adds the focus, for acquisition module, on first input for pages with a data creation or modification or pages with only one form (like Z3950 search). Test plan : Go to pages and look where is the focus : - acqui/basketgroup.pl : focus on "Basket group name:" - acqui/basketheader.pl : focus on "Basket name:" - acqui/invoices.tt : focus on "Invoice no:" - acqui/modordernotes.pl : focus on "Notes:" - acqui/neworderempty.pl : focus on "Title:" - acqui/supplier.pl : focus on "Name:" - acqui/z3950_search.pl : focus on "Title:" Signed-off-by: Melia Meggs <melia@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> The focus choice is relevant and works as described. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m QA Contact| |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7469 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |gmcharlt@gmail.com --- Comment #5 from Galen Charlton <gmcharlt@gmail.com> --- Pushed to master, along with the follow-up that sets the focus for the acqui/parcels.pl form. Thanks, Fridolyn! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org