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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/library_groups.tt (-2 / +2 lines)
Lines 53-59 Link Here
53
        $('#add-group-modal-description').val("");
53
        $('#add-group-modal-description').val("");
54
        $('#add-group-modal-title').val("");
54
        $('#add-group-modal-title').val("");
55
55
56
        $('#add-group-modal').on('shown', function() {
56
        $('#add-group-modal').on('shown.bs.modal', function() {
57
            $('#add-group-modal-title').focus();
57
            $('#add-group-modal-title').focus();
58
        });
58
        });
59
59
Lines 85-91 Link Here
85
            $('#root-group-features-edit').show();
85
            $('#root-group-features-edit').show();
86
        }
86
        }
87
87
88
        $('#edit-group-modal').on('shown', function() {
88
        $('#edit-group-modal').on('shown.bs.modal', function() {
89
            $('#edit-group-modal-title').focus();
89
            $('#edit-group-modal-title').focus();
90
        });
90
        });
91
91
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +2 lines)
Lines 757-765 Link Here
757
            $("#barcode").focus();
757
            $("#barcode").focus();
758
        }
758
        }
759
        $(document).ready(function () {
759
        $(document).ready(function () {
760
            $(".modal").modal({ backdrop: 'static' }).on('shown', function() {
760
            $(".modal").modal({ backdrop: 'static' }).on('shown.bs.modal', function() {
761
                $("#barcode").prop("disabled", true);
761
                $("#barcode").prop("disabled", true);
762
            }).on('hidden', function() {
762
            }).on('hidden.bs.modal', function() {
763
                $("#barcode").prop("disabled", false).focus();
763
                $("#barcode").prop("disabled", false).focus();
764
            });
764
            });
765
765
(-)a/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js (-2 / +1 lines)
Lines 61-67 $(document).ready(function() { Link Here
61
        $("#duplicate_current_template").val(1);
61
        $("#duplicate_current_template").val(1);
62
    });
62
    });
63
63
64
    $('#createTemplate').on('shown', function (e) {
64
    $('#createTemplate').on('shown.bs.modal', function (e) {
65
        e.preventDefault();
65
        e.preventDefault();
66
        $("#template_name").focus();
66
        $("#template_name").focus();
67
    });
67
    });
68
- 

Return to bug 21186