noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/01: Fix bug : autocomplete does not work p


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/01: Fix bug : autocomplete does not work properly , so it is deactivated when called from ajax (ajax_search_action)
Date: Wed, 09 Mar 2016 21:01:44 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit bee46e6497c17bbf1a8cd4b95841ac5d7b42eeb8
Author: Dany De Bontridder <address@hidden>
Date:   Wed Mar 9 21:53:20 2016 +0100

    Fix bug : autocomplete does not work properly , so it is deactivated
    when called from ajax (ajax_search_action)
---
 include/class/class_follow_up.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/class/class_follow_up.php 
b/include/class/class_follow_up.php
index c13d21a..d3a752a 100644
--- a/include/class/class_follow_up.php
+++ b/include/class/class_follow_up.php
@@ -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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]