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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 1018-1024 Note that permanent location is a code, and location may be an authval. Link Here
1018
        var interface = "[% interface | html %]";
1018
        var interface = "[% interface | html %]";
1019
        var theme = "[% theme | html %]";
1019
        var theme = "[% theme | html %]";
1020
        // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
1020
        // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
1021
        function verify_images() {
1021
        function verify_cover_images() {
1022
            // Loop over each container in the template which contains covers
1022
            // Loop over each container in the template which contains covers
1023
            $(".cover-slider").each(function(){
1023
            $(".cover-slider").each(function(){
1024
                var lightbox_descriptions = [];
1024
                var lightbox_descriptions = [];
Lines 1293-1299 Note that permanent location is a code, and location may be an authval. Link Here
1293
        });
1293
        });
1294
1294
1295
        $(window).load(function() {
1295
        $(window).load(function() {
1296
            verify_images();
1296
            verify_cover_images();
1297
        });
1297
        });
1298
    </script>
1298
    </script>
1299
    [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1299
    [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-2 / +2 lines)
Lines 1-6 Link Here
1
/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers holdfor_cardnumber holdforclub strQuery PREF_NotHighlightedWords __ */
1
/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers holdfor_cardnumber holdforclub strQuery PREF_NotHighlightedWords __ */
2
2
3
function verify_images() {
3
function verify_cover_images() {
4
    /* Loop over each container in the template which contains covers */
4
    /* Loop over each container in the template which contains covers */
5
    var coverSlides = $(".cover-slides"); /* One coverSlides for each search result */
5
    var coverSlides = $(".cover-slides"); /* One coverSlides for each search result */
6
    coverSlides.each( function( index ){
6
    coverSlides.each( function( index ){
Lines 101-107 function verify_images() { Link Here
101
}
101
}
102
102
103
$(window).load(function() {
103
$(window).load(function() {
104
    verify_images();
104
    verify_cover_images();
105
});
105
});
106
106
107
var Sticky;
107
var Sticky;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+5 lines)
Lines 205-210 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
205
        var query_cgi = "[% query_cgi | html %]";
205
        var query_cgi = "[% query_cgi | html %]";
206
    [% END %]
206
    [% END %]
207
207
208
    [% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %]
209
        $(window).load(function() {
210
            verify_images();
211
         });
212
    [% END %]
208
    $(".print-large").on("click",function(){
213
    $(".print-large").on("click",function(){
209
        window.print();
214
        window.print();
210
        return false;
215
        return false;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +2 lines)
Lines 1388-1394 Link Here
1388
            }
1388
            }
1389
        [% END # /IF OpacHighlightedWords %]
1389
        [% END # /IF OpacHighlightedWords %]
1390
1390
1391
        function verify_images() {
1391
        function verify_cover_images() {
1392
            // Loop over each container in the template which contains covers
1392
            // Loop over each container in the template which contains covers
1393
            $(".cover-slider").each(function( index ){
1393
            $(".cover-slider").each(function( index ){
1394
                var lightbox_descriptions = [];
1394
                var lightbox_descriptions = [];
Lines 1516-1522 Link Here
1516
        } /* /verify_images */
1516
        } /* /verify_images */
1517
1517
1518
        $(window).load(function() {
1518
        $(window).load(function() {
1519
            verify_images();
1519
            verify_cover_images();
1520
        });
1520
        });
1521
1521
1522
        $(document).ready(function() {
1522
        $(document).ready(function() {
1523
- 

Return to bug 28180