Bugzilla – Attachment 40988 Details for
Bug 14523
Google jackets being blocked when OPAC using HTTPS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change Google books URL from HTTP to HTTPS
0001-Bug-14523-Google-jackets-being-blocked-when-OPAC-usi.patch (text/plain), 1.69 KB, created by
Barry Cannon
on 2015-07-14 11:32:18 UTC
(
hide
)
Description:
Change Google books URL from HTTP to HTTPS
Filename:
MIME Type:
Creator:
Barry Cannon
Created:
2015-07-14 11:32:18 UTC
Size:
1.69 KB
patch
obsolete
>From 7336fc597e84781f8b9885fa241aaf99dc981cb7 Mon Sep 17 00:00:00 2001 >From: Barry Cannon <barry.cannon@interleaf.ie> >Date: Tue, 14 Jul 2015 12:25:55 +0100 >Subject: [PATCH] Bug 14523 - Google jackets being blocked when OPAC using > HTTPS This patch changes the Google jackets URL to use > HTTPS instead of HTTP. > >--- > koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js b/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js >index b23599f..bede2d7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js >@@ -27,7 +27,7 @@ KOHA.Google = { > this.openInNewWindow=newWindow; > scriptElement.setAttribute("id", "jsonScript"); > scriptElement.setAttribute("src", >- "http://books.google.com/books?bibkeys=" + escape(bibkeys) + >+ "https://books.google.com/books?bibkeys=" + escape(bibkeys) + > "&jscmd=viewapi&callback=KOHA.Google.gbsCallBack"); > scriptElement.setAttribute("type", "text/javascript"); > document.documentElement.firstChild.appendChild(scriptElement); >@@ -59,7 +59,7 @@ KOHA.Google = { > '<a '+target+'href="' + > book.info_url + > '"><img src="' + >- 'http://books.google.com/intl/en/googlebooks/images/gbs_preview_sticker1.gif' + >+ 'https://books.google.com/intl/en/googlebooks/images/gbs_preview_sticker1.gif' + > '"></a></div>' > ); > } >-- >1.7.10.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 14523
:
40988
|
47385
|
47500
|
47501
|
47511
|
47544