diff --git a/html/js/scripts.js b/html/js/scripts.js index 0109baa3d..1829aacd1 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -1723,7 +1723,7 @@ function view_action(ag_id,dossier,modify) * @see HtmlInput::filter_table */ function filter_table(phrase, _id, colnr,start_row) { - var words = phrase.value.toLowerCase(); + var words = $(phrase).value.toLowerCase(); var table = document.getElementById(_id); // if colnr contains a comma then check several columns var aCol = new Array(); diff --git a/include/class_html_input.php b/include/class_html_input.php index 05ff0d937..02e01f437 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -716,10 +716,10 @@ class HtmlInput static function filter_table($p_table_id,$p_col,$start_row) { $r= " -
+ "; return $r; }