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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
b7a199ffe7
commit
64b457925c
|
|
@ -327,6 +327,8 @@ Libraries › Administration › Koha
|
|||
var columns_settings = [% TablesSettings.GetColumns( 'admin', 'libraries', 'libraries', 'json' ) | $raw %];
|
||||
$(document).ready(function() {
|
||||
|
||||
$("#branchcode").focus();
|
||||
|
||||
var libraries_url = '/api/v1/libraries';
|
||||
var libraries = $("#libraries").api({
|
||||
"ajax": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue