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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-1 / +4 lines)
Lines 477-487 Link Here
477
                                [% ELSE %]
477
                                [% ELSE %]
478
                                    <select id="star_rating" name="rating" data-rating-enabled="0" disabled="disabled" autocomplete="off">
478
                                    <select id="star_rating" name="rating" data-rating-enabled="0" disabled="disabled" autocomplete="off">
479
                                [% END %]
479
                                [% END %]
480
                                    [% IF ( rating_avg_int == 0 ) %]
481
                                        <option value="" selected="selected"></option>
482
                                    [% END %]
480
                                    [% FOREACH i IN [ 1 2 3 4 5  ] %]
483
                                    [% FOREACH i IN [ 1 2 3 4 5  ] %]
481
                                        [% IF rating_avg_int == i %]
484
                                        [% IF rating_avg_int == i %]
482
                                            <option value="[% i | html %]" selected="selected">[% i | html %]</option>
485
                                            <option value="[% i | html %]" selected="selected">[% i | html %]</option>
483
                                        [% ELSE %]
486
                                        [% ELSE %]
484
                                            <option value"[% i | html %]">[% i | html %]</option>
487
                                            <option value="[% i | html %]">[% i | html %]</option>
485
                                        [% END %]
488
                                        [% END %]
486
                                    [% END %]
489
                                    [% END %]
487
                                </select>
490
                                </select>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-1 / +4 lines)
Lines 738-743 $(document).ready(function(){ Link Here
738
    });
738
    });
739
    enableCheckboxActions();
739
    enableCheckboxActions();
740
740
741
    $(".br-readonly a").on("click", function(e){
742
        e.preventDefault();
743
    });
744
741
    [% IF ( IDreamBooksResults ) %]
745
    [% IF ( IDreamBooksResults ) %]
742
        $('.idbresult').each(function() {
746
        $('.idbresult').each(function() {
743
            var isbn = $(this).children('a').text().replace(/\s*/,'');
747
            var isbn = $(this).children('a').text().replace(/\s*/,'');
744
- 

Return to bug 10659