View | Details | Raw Unified | Return to bug 14571
Collapse All | Expand All

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

Return to bug 14571