When a new library is added it would be helpful if the focus would be in the first field of the form: branch code See bug 27192 for a rather similar one.
Created attachment 115278 [details] [review] Bug 27455: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked.
Created attachment 115305 [details] [review] Bug 27355: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked. https://bugs.koha-community.org/show_bug.cgi?id=27455 Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Works as described.
Created attachment 115571 [details] [review] Bug 27355: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked. https://bugs.koha-community.org/show_bug.cgi?id=27455 Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
1. Bug number is wrong 2. Focus must be put using the "focus" class instead.
Created attachment 118217 [details] [review] Bug 27455: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked. https://bugs.koha-community.org/show_bug.cgi?id=27455 Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 118218 [details] [review] Bug 27455: (follow-pu) Switch form JavaScript to focus class
Created attachment 118237 [details] [review] Bug 27455: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked. https://bugs.koha-community.org/show_bug.cgi?id=27455 Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 118238 [details] [review] Bug 27455: (follow-pu) Switch form JavaScript to focus class Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 118239 [details] [review] Bug 27455: (follow-up) Add automatic focus to library name when editing
Created attachment 118561 [details] [review] Bug 27455: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked. https://bugs.koha-community.org/show_bug.cgi?id=27455 Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 118562 [details] [review] Bug 27455: (follow-up) Switch form JavaScript to focus class Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 118563 [details] [review] Bug 27455: (follow-up) Add automatic focus to library name when editing Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 120125 [details] [review] Bug 27455: Add focus to branch code when a new library is added TEST PLAN: From the koha home, go to administration, go to Libraries which is under Basic parameters. Click +New library the focus should go to the first field of the form (library/branch code) the patch has worked. https://bugs.koha-community.org/show_bug.cgi?id=27455 Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 120126 [details] [review] Bug 27455: (follow-up) Switch form JavaScript to focus class Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 120127 [details] [review] Bug 27455: (follow-up) Add automatic focus to library name when editing Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 21.05, thanks to everybody involved!
Enhancement not pushed to 20.11.x