Fix bug : autocomplete does not work properly , so it is deactivated
when called from ajax (ajax_search_action)
This commit is contained in:
parent
7eac9af354
commit
bee46e6497
1 changed files with 2 additions and 0 deletions
|
|
@ -1159,6 +1159,7 @@ class Follow_Up
|
|||
/**
|
||||
* Display only a search box for searching an action
|
||||
* @param $cn database connx
|
||||
* @param $inner true if coming from an ajax (ajax_search_action)
|
||||
*/
|
||||
static function display_search($cn, $inner=false)
|
||||
{
|
||||
|
|
@ -1186,6 +1187,7 @@ class Follow_Up
|
|||
require_once NOALYSS_TEMPLATE.'/action_button.php';
|
||||
|
||||
$w=new ICard();
|
||||
if ( $inner ) $w->autocomplete=0;
|
||||
$w->name='qcode';
|
||||
$w->id=$w->generate_id($w->name);
|
||||
$w->value=$qcode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue