FIX Do not lose selected id after ENTER the TAB on autocomplete

This commit is contained in:
Laurent Destailleur
2017-10-06 10:46:45 +02:00
parent f0b314dfd7
commit 848aadb48a
2 changed files with 8 additions and 5 deletions

View File

@@ -6378,7 +6378,7 @@ function dolExplodeIntoArray($string, $delimiter = ';', $kv = '=')
/**
* Set focus onto field with selector
* Set focus onto field with selector (similar behaviour of 'autofocus' HTML5 tag)
*
* @param string $selector Selector ('#id' or 'input[name="ref"]') to use to find the HTML input field that must get the autofocus. You must use a CSS selector, so unique id preceding with the '#' char.
* @return string HTML code to set focus