From dfdeb892223cac1ec1147ea8387afa6876ff3716 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 15 Mar 2005 23:52:45 +0000 Subject: [PATCH] Sorry folks. Changing onClick to onMouseDown so middle mouse/right mouse work correctly too. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9044 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index c77ee334..5a1ed49b 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -426,7 +426,7 @@ function printMessageInfo($aMsg) { // parentNode property is DOM Level 1 // if ($javascript_on && $fancy_index_highlite) - $td_str .= ' onClick="row_click(\'msg[' . $t . ']\'); setPointer(this.parentNode.parentNode, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"'; + $td_str .= ' onmousedown="row_click(\'msg[' . $t . ']\'); setPointer(this.parentNode.parentNode, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"'; $td_str .= ' ' .concat_hook_function('subject_link', array($start_msg, $searchstr)); if ($subject != $sSubject) { -- 2.25.1