Fixed: Missing test

This commit is contained in:
Laurent Destailleur 2014-12-20 11:17:04 +01:00
parent c3ac607e4f
commit 27f26bba27

View File

@ -1356,15 +1356,17 @@ class Form
} }
$out.= '</select>'; $out.= '</select>';
$out.= '<script type="text/javascript"> if (! empty($conf->use_javascript_ajax))
$(document).ready(function() { {
$out.= '<script type="text/javascript">
$(document).ready(function() {
$(\'#'.$htmlname.'\').select2({ $(\'#'.$htmlname.'\').select2({
width: \'resolve\', width: \'resolve\',
minimumInputLength: 0 minimumInputLength: 0
}); });
}) })
</script>'; </script>';
}
} }
else else
{ {