*
* @param string the name of the checkbox that should be (un)checked
*/
-function row_click(chkboxName) {
+function row_click(chkboxName, event) {
var chkbox = document.getElementById(chkboxName);
if (chkbox) {
// initialize orig_row_color if not defined already
$javascript_auto_click = '';
if ($javascript_on && $fancy_index_highlite) {
// include the form_id in order to show multiple messages lists. Otherwise id isn't unique
- $javascript_auto_click = " onmousedown=\"row_click('$form_id"."_msg$i')\"";
+ $javascript_auto_click = " onmousedown=\"row_click('$form_id"."_msg$i', event)\"";
}
if ($onclick) { $sText .= " onclick=\"$onclick\""; }
if ($link_extra) { $sText .= " $link_extra"; }
if ($javascript_on && $fancy_index_highlite) {
- $sText .= " onmousedown=\"row_click('$form_id"."_msg$i'); setPointer(this." . (empty($bold) ? '' : 'parentNode.') .
+ $sText .= " onmousedown=\"row_click('$form_id"."_msg$i', event); setPointer(this." . (empty($bold) ? '' : 'parentNode.') .
'parentNode.parentNode, ' . $i . ', \'click\', \''. $non_clicked_class. '\', \'mouse_over\', \'clicked\');"';
}
$sText .= ">"