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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-2 / +9 lines)
Lines 228-236 Link Here
228
[% INCLUDE 'opac-bottom.inc' %]
228
[% INCLUDE 'opac-bottom.inc' %]
229
[% BLOCK jsinclude %]
229
[% BLOCK jsinclude %]
230
    [% INCLUDE 'datatables.inc' %]
230
    [% INCLUDE 'datatables.inc' %]
231
    <script>
232
        addPrefs({
233
            GoogleJackets: [% Koha.Preference('GoogleJackets') ? 1 : 0 | html %],
234
        });
235
    </script>
236
231
    <script>
237
    <script>
232
        $(document).ready(function(){
238
        $(document).ready(function(){
233
            [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]
239
            if ( prefs.GoogleJackets ){
240
                KOHA.Google.GetCoverFromIsbn();
241
            }
234
            $('#order').change(function() {
242
            $('#order').change(function() {
235
                $('#sortform').submit();
243
                $('#sortform').submit();
236
            });
244
            });
237
- 

Return to bug 41582