Bug 25727: (follow-up) Do not open options on clear

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-08-31 14:37:27 +02:00
parent ef3b7eedc0
commit 2f1665151f
1 changed files with 1 additions and 6 deletions

View File

@ -67,11 +67,6 @@ $(document).ready(function(){
[% Asset.css("css/addbiblio.css") | $raw %]
[% Asset.css("css/humanmsg.css") | $raw %]
[% INCLUDE 'select2.inc' %]
<script type="text/javascript">
$(document).ready(function() {
$('.subfield_line select').select2();
});
</script>
</head>
<body id="tools_batchMod-edit" class="tools">
@ -281,7 +276,7 @@ $(document).ready(function(){
</label>
[% IF ( mv.type == 'select' ) -%]
<select name="[%- mv.name | html -%]" id="[%- mv.id | html -%]" size="1" tabindex="1" class="input_marceditor">
<select name="[%- mv.name | html -%]" id="[%- mv.id | html -%]" size="1" tabindex="1" class="input_marceditor select2">
[%- FOREACH aval IN mv.values %]
[% ite.subfield | html %] -
[% IF aval == mv.default %]