Bugzilla – Attachment 152548 Details for
Bug 34093
jQuery not loading on OAI XSLT pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34093: Fix paths to jQuery for OAI XSLT
Bug-34093-Fix-paths-to-jQuery-for-OAI-XSLT.patch (text/plain), 2.35 KB, created by
Nick Clemens (kidclamp)
on 2023-06-22 11:07:27 UTC
(
hide
)
Description:
Bug 34093: Fix paths to jQuery for OAI XSLT
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-06-22 11:07:27 UTC
Size:
2.35 KB
patch
obsolete
>From c32e45c48cc536d21480cee4fbcc84fc8797e0b9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 22 Jun 2023 11:02:31 +0000 >Subject: [PATCH] Bug 34093: Fix paths to jQuery for OAI XSLT >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1 - Enable OAI-PMH system preference >2 - Browse to: > http://localhost:8080/cgi-bin/koha/oai.pl?verb=ListRecords&metadataPrefix=marcxml >3 - Click 'Metadata' button for a record >4 - Nothign happens >5 - Check the console: > Loading failed for the <script> with source âhttp://localhost:8080/opac-tmpl/bootstrap/lib/jquery/jquery-migrate-3.3.2.min.jsâ. > Loading failed for the <script> with source âhttp://localhost:8080/opac-tmpl/bootstrap/lib/jquery/jquery-3.6.0.min.jsâ. > Loading failed for the <script> with source âhttp://localhost:8080/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.bundle.min.jsâ. >6 - Apply patch >7 - Reload >8 - Console errors are gone >9 - Clicking 'Metadata' expands the record content >--- > koha-tmpl/opac-tmpl/xslt/OAI.xslt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/xslt/OAI.xslt b/koha-tmpl/opac-tmpl/xslt/OAI.xslt >index 48a31309f5..d7956f31ed 100644 >--- a/koha-tmpl/opac-tmpl/xslt/OAI.xslt >+++ b/koha-tmpl/opac-tmpl/xslt/OAI.xslt >@@ -26,9 +26,9 @@ > <title>Koha OAI-PMH Data Provider</title> > <meta name="viewport" content="width=device-width, initial-scale=1.0" /> > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> >- <script src="/opac-tmpl/bootstrap/lib/jquery/jquery-3.6.0.min.js"></script> >- <script src="/opac-tmpl/bootstrap/lib/jquery/jquery-migrate-3.3.2.min.js"></script> >- <script src="/opac-tmpl/bootstrap/lib/bootstrap/js/bootstrap.bundle.min.js"></script> >+ <script src="/opac-tmpl/lib/jquery/jquery-3.6.0.min.js"></script> >+ <script src="/opac-tmpl/lib/jquery/jquery-migrate-3.3.2.min.js"></script> >+ <script src="/opac-tmpl/lib/bootstrap/js/bootstrap.bundle.min.js"></script> > <link rel="stylesheet" href="/opac-tmpl/bootstrap/css/bootstrap-theme-oai.css" type="text/css" /> > <link rel="stylesheet" href="/opac-tmpl/bootstrap/css/oai.css" type="text/css" /> > </head> >-- >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 34093
:
152548
|
152572
|
152618