Hi.
You could do this.
Open the file : modules/mod_jak2filter/helper.php
Look for the code:
$html .= '
var completer_' . $this->module->id . '_' . $fieldname.' = new Autocompleter.Request.JSON(
document.id(\''.$id.'\'),
\''.$url.'\',
{\'minLength\': 3, \'postVar\': \''.$id.'\'}
); ';
Change to:
$html .= '<script type="text/javascript">
var completer_' . $this->module->id . '_' . $fieldname.' = new Autocompleter.Request.JSON(
document.id(\''.$id.'\'),
\''.$url.'\',
{\'minLength\': 3, \'postVar\': \''.$id.'\'}
);
jQuery(document).on(\'click\', function(event) {
var container = jQuery(\'ul.autocompleter-choices\');
if (!container.is(event.target) && container.has(event.target).length === 0)
{
completer_' . $this->module->id . '_' . $fieldname.'.hideChoices();
}
});
';
Regards.