*
* @param string the name of the checkbox that should be (un)checked
*/
-function row_click(chkboxName, event) {
+function row_click(chkboxName, event, formName) {
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', event)\"";
+ $javascript_auto_click = " onmousedown=\"row_click('$form_id"."_msg$i', event, '$form_name')\"";
}
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', event); setPointer(this." . (empty($bold) ? '' : 'parentNode.') .
+ $sText .= " onmousedown=\"row_click('$form_id"."_msg$i', event, '$form_name'); setPointer(this." . (empty($bold) ? '' : 'parentNode.') .
'parentNode.parentNode, ' . $i . ', \'click\', \''. $non_clicked_class. '\', \'mouse_over\', \'clicked\');"';
}
$sText .= ">"