Bugzilla – Attachment 130577 Details for
Bug 29960
Remove Modernizr dependency in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29960: (follow-up) Include enquire.js in print slip template
Bug-29960-follow-up-Include-enquirejs-in-print-sli.patch (text/plain), 1.69 KB, created by
Katrin Fischer
on 2022-02-14 21:19:48 UTC
(
hide
)
Description:
Bug 29960: (follow-up) Include enquire.js in print slip template
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-02-14 21:19:48 UTC
Size:
1.69 KB
patch
obsolete
>From 6eb70f54392ae6b424db275e60897824d2b01882 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 11 Feb 2022 12:36:21 +0000 >Subject: [PATCH] Bug 29960: (follow-up) Include enquire.js in print slip > template > >This patch adds enquire.js to the print slip template in order to >prevent a JS error. > >Also removed is a line from global.js which was added in the previous >patch and which was an unwanted change. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt | 1 + > koha-tmpl/opac-tmpl/bootstrap/js/global.js | 2 -- > 2 files changed, 1 insertion(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >index 41baa6acb5..8f293f0a82 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt >@@ -18,6 +18,7 @@ > [% Asset.js("lib/jquery/jquery-3.4.1.min.js") | $raw %] > [% Asset.js("lib/jquery/jquery-migrate-3.1.0.min.js") | $raw %] > [% Asset.js("lib/fontfaceobserver.min.js") | $raw %] >+[% Asset.js("lib/enquire.min.js") | $raw %] > [% Asset.js("js/global.js") | $raw %] > > [% INCLUDE 'slip-print.inc' #printThenClose %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/global.js b/koha-tmpl/opac-tmpl/bootstrap/js/global.js >index 171dfd2bd0..1d46a3f271 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/global.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/global.js >@@ -230,5 +230,3 @@ $(document).ready(function(){ > } > }); > }); >- >-$.fn.modal.Constructor.prototype.enforceFocus = function () {}; >-- >2.30.2
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 29960
:
129892
|
130216
|
130243
|
130489
|
130554
|
130555
|
130576
| 130577