Lines 25-31
KOHA.OpenLibrary = new function() {
Link Here
|
25 |
var scriptElement = document.createElement("script"); |
25 |
var scriptElement = document.createElement("script"); |
26 |
scriptElement.setAttribute("id", "jsonScript"); |
26 |
scriptElement.setAttribute("id", "jsonScript"); |
27 |
scriptElement.setAttribute("src", |
27 |
scriptElement.setAttribute("src", |
28 |
"http://openlibrary.org/api/books?bibkeys=" + escape(bibkeys) + |
28 |
"https://openlibrary.org/api/books?bibkeys=" + escape(bibkeys) + |
29 |
"&callback=KOHA.OpenLibrary.olCallBack&jscmd=data"); |
29 |
"&callback=KOHA.OpenLibrary.olCallBack&jscmd=data"); |
30 |
scriptElement.setAttribute("type", "text/javascript"); |
30 |
scriptElement.setAttribute("type", "text/javascript"); |
31 |
document.documentElement.firstChild.appendChild(scriptElement); |
31 |
document.documentElement.firstChild.appendChild(scriptElement); |
32 |
- |
|
|