Merged revisions 3663 via svnmerge from

svn+ssh://danydb@svn/svn/phpcompta/branches/rel520

........
  r3663 | danydb | 2010-09-10 00:26:03 +0200 (Fri, 10 Sep 2010) | 1 line
  
  Fix bug for toggle check_box in IButton
........
This commit is contained in:
Dany De Bontridder 2010-09-10 17:50:26 +00:00
parent b337f59b1a
commit 68d33b63be

View file

@ -53,19 +53,19 @@ require_once('class_html_input.php');
static function tooggle_checkbox($p_form) {
$select_all=new IButton('select_all');
$select_all->label=_('Inverser la sélection');
$select_all->javascript="toggle_checkbox($p_form)";
$select_all->javascript="toggle_checkbox('$p_form')";
return $select_all->input();
}
static function select_checkbox($p_form) {
$select_all=new IButton('select_all');
$select_all->label=_('Cocher tous');
$select_all->javascript="select_checkbox($p_form)";
$select_all->javascript="select_checkbox('$p_form')";
return $select_all->input();
}
static function unselect_checkbox($p_form) {
$select_all=new IButton('select_all');
$select_all->label=_('Décocher tous');
$select_all->javascript="unselect_checkbox($p_form)";
$select_all->javascript="unselect_checkbox('$p_form')";
return $select_all->input();
}
static function show_calc() {