From 1230fd83015fc3cc9b2a6af716dab473b2c5b39c Mon Sep 17 00:00:00 2001 From: Barry Cannon Date: Tue, 14 Jul 2015 12:25:55 +0100 Subject: [PATCH] Bug 14523 - Google jackets being blocked when OPAC using HTTPS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch changes the Google jackets URL to use HTTPS instead of HTTP. Test Plan: 1) Enable Google Jackets 2) Ensure the Koha OPAC instance is configued to use HTTPS 3) Confirm Google jackets display correctly. Signed-off-by: Frédéric Demians Signed-off-by: Jonathan Druart --- 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 = { '' ); } -- 2.1.0