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 1033-1039 Note that permanent location is a code, and location may be an authval. Link Here
1033
        var interface = "[% interface | html %]";
1033
        var interface = "[% interface | html %]";
1034
        var theme = "[% theme | html %]";
1034
        var theme = "[% theme | html %]";
1035
        // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
1035
        // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
1036
        function verify_images() {
1036
        function verify_cover_images() {
1037
            // Loop over each container in the template which contains covers
1037
            // Loop over each container in the template which contains covers
1038
            $(".cover-slider").each(function(){
1038
            $(".cover-slider").each(function(){
1039
                var lightbox_descriptions = [];
1039
                var lightbox_descriptions = [];
Lines 1310-1316 Note that permanent location is a code, and location may be an authval. Link Here
1310
        });
1310
        });
1311
1311
1312
        $(window).load(function() {
1312
        $(window).load(function() {
1313
            verify_images();
1313
            verify_cover_images();
1314
        });
1314
        });
1315
    </script>
1315
    </script>
1316
    [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1316
    [% 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 214-219 $.widget.bridge('uitooltip', $.ui.tooltip); Link Here
214
        var query_cgi = "[% query_cgi | html %]";
214
        var query_cgi = "[% query_cgi | html %]";
215
    [% END %]
215
    [% END %]
216
216
217
    [% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %]
218
        $(window).load(function() {
219
            verify_images();
220
         });
221
    [% END %]
217
    $(".print-large").on("click",function(){
222
    $(".print-large").on("click",function(){
218
        window.print();
223
        window.print();
219
        return false;
224
        return false;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +2 lines)
Lines 1554-1560 Link Here
1554
            }
1554
            }
1555
        [% END # /IF OpacHighlightedWords %]
1555
        [% END # /IF OpacHighlightedWords %]
1556
1556
1557
        function verify_images() {
1557
        function verify_cover_images() {
1558
            // Loop over each container in the template which contains covers
1558
            // Loop over each container in the template which contains covers
1559
            $(".cover-slider").each(function( index ){
1559
            $(".cover-slider").each(function( index ){
1560
                var lightbox_descriptions = [];
1560
                var lightbox_descriptions = [];
Lines 1682-1688 Link Here
1682
        } /* /verify_images */
1682
        } /* /verify_images */
1683
1683
1684
        $(window).load(function() {
1684
        $(window).load(function() {
1685
            verify_images();
1685
            verify_cover_images();
1686
        });
1686
        });
1687
1687
1688
        $(document).ready(function() {
1688
        $(document).ready(function() {
1689
- 

Return to bug 28180