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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-login.inc (-1 / +1 lines)
Lines 11-17 Link Here
11
                <div class="modal-body">
11
                <div class="modal-body">
12
                        <fieldset class="brief">
12
                        <fieldset class="brief">
13
                            <label for="ODpassword">Password:</label>
13
                            <label for="ODpassword">Password:</label>
14
                            <input type="password" name="ODpassword" value="" />
14
                            <input type="password" name="ODpassword" id="ODpassword" value="" />
15
                        </fieldset>
15
                        </fieldset>
16
                </div>
16
                </div>
17
                <div class="modal-footer">
17
                <div class="modal-footer">
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js (-3 / +4 lines)
Lines 95-103 KOHA.OverDriveCirculation = new function() { Link Here
95
            var ODpassword = $("input[name='ODpassword']").val();
95
            var ODpassword = $("input[name='ODpassword']").val();
96
            login( ODpassword );
96
            login( ODpassword );
97
        });
97
        });
98
    });
99
98
100
    $( document ).ready(function() {
99
        $("#overdrive-login").on("shown.bs.modal", function(){
100
            $("#ODpassword").focus();
101
        });
102
101
        var p = window.opener;
103
        var p = window.opener;
102
        var cb;
104
        var cb;
103
        if (p) {
105
        if (p) {
104
- 

Return to bug 26753