From dd5801696e3950cdf57f9e5f847bde41b97fec9f Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 13 Apr 2001 08:17:56 +0000 Subject: [PATCH] fix for #73156. enter should work like open in the thread / search pane. patch by the bossman (putterman@netscape.com), sr=sspitzer --- mailnews/base/resources/content/threadPane.js | 3 ++- mailnews/base/resources/content/threadPane.xul | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mailnews/base/resources/content/threadPane.js b/mailnews/base/resources/content/threadPane.js index a68a7269192..b5e87d4d230 100644 --- a/mailnews/base/resources/content/threadPane.js +++ b/mailnews/base/resources/content/threadPane.js @@ -139,7 +139,8 @@ function ThreadPaneDoubleClick() function ThreadPaneKeyPress(event) { - return; + if (event.keyCode == 13) + ThreadPaneDoubleClick(); } function MsgSortByDate() diff --git a/mailnews/base/resources/content/threadPane.xul b/mailnews/base/resources/content/threadPane.xul index bc1a1c4cadb..5abf07e46db 100644 --- a/mailnews/base/resources/content/threadPane.xul +++ b/mailnews/base/resources/content/threadPane.xul @@ -34,7 +34,8 @@ Rights Reserved. + onclick="ThreadPaneOnClick(event);" + onkeypress="ThreadPaneKeyPress(event);">