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 303-308 Link Here
303
    [% Asset.js("js/admin-menu.js") | $raw %]
303
    [% Asset.js("js/admin-menu.js") | $raw %]
304
    <script>
304
    <script>
305
        $(document).ready(function() {
305
        $(document).ready(function() {
306
            $("#code").focus();
306
            if ( $("#branches option:selected").length < 1 ) {
307
            if ( $("#branches option:selected").length < 1 ) {
307
                $("#branches option:first").attr("selected", "selected");
308
                $("#branches option:first").attr("selected", "selected");
308
            }
309
            }
309
- 

Return to bug 27193