From d6798e766da9d123402a780fc4a83336bd2d2cc0 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 16 May 2013 17:59:43 +0000 Subject: [PATCH] Task #0000832: Filtrage simple de table Le form devient un span --- html/js/scripts.js | 2 +- include/class_html_input.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; }