diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-22 15:12:52 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-22 15:12:52 +0000 |
| commit | 67caec0a308312b19cc85f6c09e482d717c0f252 (patch) | |
| tree | 5566dedd907341525bfa9f8c595812d69ab67033 /frontends/php/include/classes/ccheckbox.inc.php | |
| parent | eb9c8c4c00ab339b6e105b35d65f3c99dc5cb677 (diff) | |
- improved JS supporting for IE
git-svn-id: svn://svn.zabbix.com/trunk@3909 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes/ccheckbox.inc.php')
| -rw-r--r-- | frontends/php/include/classes/ccheckbox.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/classes/ccheckbox.inc.php b/frontends/php/include/classes/ccheckbox.inc.php index 526ceedf..2d616da8 100644 --- a/frontends/php/include/classes/ccheckbox.inc.php +++ b/frontends/php/include/classes/ccheckbox.inc.php @@ -29,7 +29,7 @@ $this->options['type'] = 'checkbox'; $this->options['value'] = $value; $this->options['name'] = $name; - $this->options['onClick'] = $action; + $this->SetAction($action); $this->SetChecked($checked); } function SetEnabled($value='yes') @@ -49,7 +49,7 @@ } function SetAction($value='submit()', $event='onClick') { - $this->options[$event] = $value; + $this->AddAction('onClick', $value); } } |
