Add check in javascript for Direct writing

This commit is contained in:
sparkyx 2007-10-15 14:25:07 +00:00
parent fccc27bba6
commit ef617907bf
4 changed files with 16 additions and 2 deletions

View file

@ -201,7 +201,7 @@ class widget {
$check=( $this->selected==true )?"checked":"unchecked";
$r='<input type="CHECKBOX" name="'.$this->name.'"';
$r.=" $check";
$r.=' '.$disabled.'>';
$r.=' '.$disabled." ".$this->javascript.'>';
}
if ($this->table==1) {
$r="<TD> $this->label </TD><TD> $r </TD>";