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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-1 / +1 lines)
Lines 307-312 Link Here
307
    [% Asset.js("js/admin-menu.js") | $raw %]
307
    [% Asset.js("js/admin-menu.js") | $raw %]
308
    <script>
308
    <script>
309
        $(document).ready(function() {
309
        $(document).ready(function() {
310
            $("#code").focus();
310
            if ( $("#branches option:selected").length < 1 ) {
311
            if ( $("#branches option:selected").length < 1 ) {
311
                $("#branches option:first").attr("selected", "selected");
312
                $("#branches option:first").attr("selected", "selected");
312
            }
313
            }
313
- 

Return to bug 27193