Bugzilla – Attachment 75477 Details for
Bug 20803
Cannot search to hold or use print options from API keys interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20803: Cannot search to hold or use print options from API keys interface
Bug-20803-Cannot-search-to-hold-or-use-print-optio.patch (text/plain), 1.80 KB, created by
Owen Leonard
on 2018-05-22 17:51:48 UTC
(
hide
)
Description:
Bug 20803: Cannot search to hold or use print options from API keys interface
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-05-22 17:51:48 UTC
Size:
1.80 KB
patch
obsolete
>From 2de104a81f7da30673825d6f0b4275b9db337513 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 22 May 2018 17:46:36 +0000 >Subject: [PATCH] Bug 20803: Cannot search to hold or use print options from > API keys interface > >This patch adds a required JS asset to the patron API key interface. >Without it, JS-based functions in the toolbar do not work. > >To test you must have RESTOAuth2ClientCredentials enabled. > > - From a patron detail page, choose More -> Manage API keys. > - Test the toolbar buttons on this page, especially "Search to hold" > and the various print options. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >index 73ea916..418c7d1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt >@@ -1,4 +1,5 @@ > [% USE Koha %] >+[% USE Asset %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Patrons › API Keys</title> >@@ -99,13 +100,14 @@ > </div> > > [% MACRO jsinclude BLOCK %] >- <script> >- $(document).ready(function(){ >- $(".delete").on("click", function(e){ >- return confirmDelete(_("Are you sure you want to delete this key?")); >- }); >+ [% Asset.js("js/members-menu.js") %] >+ <script> >+ $(document).ready(function(){ >+ $(".delete").on("click", function(e){ >+ return confirmDelete(_("Are you sure you want to delete this key?")); > }); >- </script> >+ }); >+ </script> > [% END %] > > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.1.4
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 20803
:
75477
|
75478