Filtre dynamique: ajout bouton reset

This commit is contained in:
Dany De Bontridder 2013-05-11 22:55:44 +00:00
parent 245ac30e6e
commit d5b344e653

View file

@ -718,7 +718,7 @@ class HtmlInput
$r= "
<form style=\"display:inline\">
<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\">
<input type=\"button\" class=\"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;