Bug 18422 - Add Select2 to authority editor
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / authorities / authorities.tt
index ceb6e60..b65e91f 100644 (file)
@@ -153,6 +153,14 @@ function confirmnotdup(redirect){
 //]]>
 </script>
 <link type="text/css" rel="stylesheet" href="[% interface %]/[% theme %]/css/addbiblio.css" />
+
+[% INCLUDE 'select2.inc' %]
+<script>
+  $(document).ready(function() {
+    $('.subfield_line select').select2();
+  });
+</script>
+
 [% IF ( bidi ) %]
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left.css" />
 [% END %]