Add check in javascript for Direct writing
This commit is contained in:
parent
fccc27bba6
commit
ef617907bf
4 changed files with 16 additions and 2 deletions
|
|
@ -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>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue