Author: danydb
Date: 2013-05-12 00:52:49 +0200 (Sun, 12 May 2013)
New Revision: 5252

Modified:
   phpcompta/trunk/include/class_html_input.php
Log:
Filtre dynamique: ajout bouton reset

Modified: phpcompta/trunk/include/class_html_input.php
===================================================================
--- phpcompta/trunk/include/class_html_input.php        2013-05-11 22:45:37 UTC 
(rev 5251)
+++ phpcompta/trunk/include/class_html_input.php        2013-05-11 22:52:49 UTC 
(rev 5252)
@@ -717,7 +717,8 @@
        {
                $r= "
                        <form style=\"display:inline\">
-                       <input class=\"input_text\" name=\"filter\" 
onkeyup=\"filter_table(this, '$p_table_id','$p_col',$start_row )\" 
type=\"text\">
+                       <input id=\"lk_".$p_table_id."\" class=\"input_text\" 
name=\"filter\" onkeyup=\"filter_table(this, '$p_table_id','$p_col',$start_row 
)\" type=\"text\">
+                       <input type=\"button\" 
onclick=\"$('lk_".$p_table_id."').value='';filter_table($('lk_".$p_table_id."'),
 '$p_table_id','$p_col',$start_row );\" value=\"X\">
                        </form>
                        ";
                return $r;



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu

_______________________________________________
Phpcompta  est un logiciel libre de comptabilit&#233; en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to