Bugzilla – Attachment 99661 Details for
Bug 24510
When placing a hold, cursor doesn't focus on patron name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24510: Add focus to Patron/club input
Bug-24510-Add-focus-to-Patronclub-input.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2020-02-26 16:40:54 UTC
(
hide
)
Description:
Bug 24510: Add focus to Patron/club input
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-26 16:40:54 UTC
Size:
1.22 KB
patch
obsolete
>From 01387d2716f46b84d451ee6f705d270101d1a8bd Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 24 Jan 2020 15:34:07 +0000 >Subject: [PATCH] Bug 24510: Add focus to Patron/club input > >Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 00b7b66243..b393d7aad5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -1261,6 +1261,17 @@ > [% END %] > [% END %] > >+ if ( $(".focus").is(":visible") ) { >+ $(".focus").focus(); >+ } >+ >+ $('[href="#holds_patronsearch_pane"]').click( function() { >+ $('#patron').focus(); >+ }) >+ >+ $('[href="#holds_clubsearch_pane"]').click( function() { >+ $('#club').focus(); >+ }) > }); > </script> > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24510
:
97887
|
97922
|
99658
|
99659
|
99660
|
99661
|
99662
|
99663
|
99665
|
99666
|
100733
|
100827
|
100828
|
100829
|
100830