Moving documentation from source code to README
[squirrelmail.git] / functions / mailbox_display.php
index ad3355a2d1456d045f13ede080bc93c9f087e61f..06f101386b9b29fe7e3307b284c2af224f090466 100644 (file)
@@ -436,7 +436,7 @@ function printMessageInfo($aMsg) {
                 // parentNode property is DOM Level 1
                 //
                 if ($javascript_on && $fancy_index_highlite)
-                    $td_str .= ' onmousedown="row_click(\'msg[' . $t . ']\'); setPointer(this.parentNode.parentNode, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"';
+                    $td_str .= ' onmousedown="row_click(\'msg[' . $t . ']\'); setPointer(this.' . (empty($bold) ? '' : 'parentNode.') . 'parentNode.parentNode, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"';
 
                 $td_str .= ' ' .concat_hook_function('subject_link', array($start_msg, $searchstr));
                 if ($subject != $sSubject) {