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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-1 / +1 lines)
Lines 385-391 Link Here
385
                                </div>
385
                                </div>
386
                            [% ELSE %]
386
                            [% ELSE %]
387
                                <h3>Shibboleth login</h3>
387
                                <h3>Shibboleth login</h3>
388
                                <p><a href="[% shibbolethLoginUrl | $raw %]">Log in using a Shibboleth account</a>.</p>
388
                                <p><a id="shib_url" href="[% shibbolethLoginUrl | $raw %]">Log in using a Shibboleth account</a>.</p>
389
                                [% UNLESS Koha.Preference('opacShibOnly') %]
389
                                [% UNLESS Koha.Preference('opacShibOnly') %]
390
                                    <h3>Local login</h3>
390
                                    <h3>Local login</h3>
391
                                [% END %]
391
                                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js (-1 / +3 lines)
Lines 68-73 $(document).ready(function() { Link Here
68
           let url = new URL(window.location.href);
68
           let url = new URL(window.location.href);
69
           url.searchParams.append('modal','checkout');
69
           url.searchParams.append('modal','checkout');
70
           $('#modalAuth').append('<input type="hidden" name="return" value="' + url.href +'" />');
70
           $('#modalAuth').append('<input type="hidden" name="return" value="' + url.href +'" />');
71
           $('#shib_login').each(function(){
72
               this.url = this.url.replace(/target=(.*)/, "target=" + url.href);
73
           });
71
           $('#loginModal').modal('show');
74
           $('#loginModal').modal('show');
72
           return false;
75
           return false;
73
       }
76
       }
74
- 

Return to bug 30979