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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +2 lines)
Lines 5-15 Link Here
5
<title>Koha &rsaquo; Cataloging &rsaquo; [% IF ( biblionumber ) %]Editing [% title | html %] (Record number [% biblionumber | html %])[% ELSE %]Add MARC record[% END %]</title>
5
<title>Koha &rsaquo; Cataloging &rsaquo; [% IF ( biblionumber ) %]Editing [% title | html %] (Record number [% biblionumber | html %])[% ELSE %]Add MARC record[% END %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% Asset.js("lib/hc-sticky.js") | $raw %]
7
[% Asset.js("lib/hc-sticky.js") | $raw %]
8
[% INCLUDE 'select2.inc' %]
8
<script>
9
<script>
9
    var CAN_user_parameters_manage_auth_values = "[% CAN_user_parameters_manage_auth_values | html %]";
10
    var CAN_user_parameters_manage_auth_values = "[% CAN_user_parameters_manage_auth_values | html %]";
10
    var select2Width = "100%";
11
    $.fn.select2.defaults.set("width", "100%" );
11
</script>
12
</script>
12
[% INCLUDE 'select2.inc' %]
13
[% Asset.js("js/cataloging.js") | $raw %]
13
[% Asset.js("js/cataloging.js") | $raw %]
14
[% Asset.js("js/browser.js") | $raw %]
14
[% Asset.js("js/browser.js") | $raw %]
15
<script>
15
<script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/select2.js (-2 / +1 lines)
Lines 1-7 Link Here
1
/* global __ */
1
/* global __ */
2
$.fn.select2.defaults.set("allowClear", true);
2
$.fn.select2.defaults.set("allowClear", true);
3
$.fn.select2.defaults.set("placeholder", "");
3
$.fn.select2.defaults.set("placeholder", "");
4
$.fn.select2.defaults.set("width", select2Width || "element" );
4
$.fn.select2.defaults.set("width", "element" );
5
5
6
// Internationalization
6
// Internationalization
7
$.fn.select2.defaults.set("language", {
7
$.fn.select2.defaults.set("language", {
8
- 

Return to bug 27124