mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
use js_pseudo_func also for onclick
This commit is contained in:
parent
7e9852a028
commit
5bc9ca3a7d
@ -669,7 +669,7 @@
|
|||||||
// can only be set via source at the moment
|
// can only be set via source at the moment
|
||||||
if (strlen($cell['onclick']) > 1 && $cell['type'] != 'button')
|
if (strlen($cell['onclick']) > 1 && $cell['type'] != 'button')
|
||||||
{
|
{
|
||||||
$row_data[".$col"] .= ' onclick="'.$cell['onclick'].'"' .
|
$row_data[".$col"] .= ' onclick="'.$this->js_pseudo_funcs($cell['onclick'],$cname).'"' .
|
||||||
($cell['id'] ? ' id="'.$cell['id'].'"' : '');
|
($cell['id'] ? ' id="'.$cell['id'].'"' : '');
|
||||||
}
|
}
|
||||||
$colspan = $span == 'all' ? $this->cols-$c : 0+$span;
|
$colspan = $span == 'all' ? $this->cols-$c : 0+$span;
|
||||||
@ -1396,7 +1396,7 @@
|
|||||||
// can only be set via source at the moment
|
// can only be set via source at the moment
|
||||||
if (strlen($cell[$n]['onclick']) > 1 && $cell[$n]['type'] != 'button')
|
if (strlen($cell[$n]['onclick']) > 1 && $cell[$n]['type'] != 'button')
|
||||||
{
|
{
|
||||||
$rows[$box_row]['.'.$box_col] .= ' onclick="'.$cell[$n]['onclick'].'"'.
|
$rows[$box_row]['.'.$box_col] .= ' onclick="'.$this->js_pseudo_funcs($cell[$n]['onclick'],$cname).'"'.
|
||||||
($cell[$n]['id'] ? ' id="'.$cell[$n]['id'].'"' : '');
|
($cell[$n]['id'] ? ' id="'.$cell[$n]['id'].'"' : '');
|
||||||
}
|
}
|
||||||
// allow to set further attributes in the tablecell, beside the class
|
// allow to set further attributes in the tablecell, beside the class
|
||||||
|
Loading…
Reference in New Issue
Block a user