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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +5 lines)
Lines 439-446 Link Here
439
                }
439
                }
440
                return true;
440
                return true;
441
            });
441
            });
442
            $("#library_limitation")[0].style.minWidth = "450px";
442
443
            $("#library_limitation").select2();
443
            if ($("#library_limitation").length > 0) {
444
                $("#library_limitation")[0].style.minWidth = "450px";
445
                $("#library_limitation").select2();
446
            }
444
        });
447
        });
445
    </script>
448
    </script>
446
[% END %]
449
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt (-2 / +4 lines)
Lines 289-296 Link Here
289
            //Start filtered
289
            //Start filtered
290
            $("#filter_system").click();
290
            $("#filter_system").click();
291
291
292
            $("#library_limitation")[0].style.minWidth = "450px";
292
            if ($("#library_limitation").length > 0) {
293
            $("#library_limitation").select2();
293
                $("#library_limitation")[0].style.minWidth = "450px";
294
                $("#library_limitation").select2();
295
            }
294
        });
296
        });
295
    </script>
297
    </script>
296
[% END %]
298
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-2 / +4 lines)
Lines 306-313 Link Here
306
            //Start filtered
306
            //Start filtered
307
            $("#filter_system").click();
307
            $("#filter_system").click();
308
308
309
            $("#library_limitation")[0].style.minWidth = "450px";
309
            if ($("#library_limitation").length > 0) {
310
            $("#library_limitation").select2();
310
                $("#library_limitation")[0].style.minWidth = "450px";
311
                $("#library_limitation").select2();
312
            }
311
        });
313
        });
312
    </script>
314
    </script>
313
[% END %]
315
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-2 / +5 lines)
Lines 567-574 Link Here
567
           if( $("#icons .tab-pane.active").length < 1 ){
567
           if( $("#icons .tab-pane.active").length < 1 ){
568
               $("#icons a:first").tab("show");
568
               $("#icons a:first").tab("show");
569
           }
569
           }
570
            $("#library_limitation")[0].style.minWidth = '450px';
570
571
            $("#library_limitation").select2();
571
            if ($("#library_limitation").length > 0) {
572
                $("#library_limitation")[0].style.minWidth = "450px";
573
                $("#library_limitation").select2();
574
            }
572
        });
575
        });
573
    </script>
576
    </script>
574
[% END %]
577
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/categories.js (-3 / +4 lines)
Lines 52-59 $(document).ready(function () { Link Here
52
        table_settings
52
        table_settings
53
    );
53
    );
54
54
55
    $("#library_limitation")[0].style.minWidth = "450px";
55
    if ($("#library_limitation").length > 0) {
56
    $("#library_limitation").select2();
56
        $("#library_limitation")[0].style.minWidth = "450px";
57
        $("#library_limitation").select2();
58
    }
57
59
58
    $("#categorycode").on("blur", function () {
60
    $("#categorycode").on("blur", function () {
59
        toUC(this);
61
        toUC(this);
60
- 

Return to bug 39957