forked from extern/egroupware
added escaping of onclick for buttons
This commit is contained in:
parent
21c6ebd17e
commit
c0bed5e88e
@ -554,7 +554,7 @@ htmlareaConfig_'.$id.'.editorURL = '."'$this->phpgwapi_js_url/htmlarea/';";
|
|||||||
$accesskey = '';
|
$accesskey = '';
|
||||||
$label_u = $label;
|
$label_u = $label;
|
||||||
}
|
}
|
||||||
if ($onClick) $options .= " onclick=\"$onClick\"";
|
if ($onClick) $options .= ' onclick="'.str_replace('"','\\"',$onClick).'"';
|
||||||
|
|
||||||
// <button> is not working in all cases if ($this->user_agent == 'mozilla' && $this->ua_version < 5 || $image)
|
// <button> is not working in all cases if ($this->user_agent == 'mozilla' && $this->ua_version < 5 || $image)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user