diff --git a/mozilla/mail/base/content/ABSearchDialog.js b/mozilla/mail/base/content/ABSearchDialog.js index 3a01258f4ba..ec7a3818953 100644 --- a/mozilla/mail/base/content/ABSearchDialog.js +++ b/mozilla/mail/base/content/ABSearchDialog.js @@ -332,6 +332,12 @@ function onCompose() AbNewMessage(); } +function AbResultsPaneKeyPress(event) +{ + if (event.keyCode == 13) + AbEditSelectedCard(); +} + function AbResultsPaneDoubleClick(card) { AbEditCard(card); diff --git a/mozilla/mail/base/content/ABSearchDialog.xul b/mozilla/mail/base/content/ABSearchDialog.xul index cd6eb1a01ec..13f28e18524 100644 --- a/mozilla/mail/base/content/ABSearchDialog.xul +++ b/mozilla/mail/base/content/ABSearchDialog.xul @@ -111,6 +111,7 @@ diff --git a/mozilla/mail/components/addrbook/content/addressbook.js b/mozilla/mail/components/addrbook/content/addressbook.js index 64f8d977c53..fd35bd5233d 100644 --- a/mozilla/mail/components/addrbook/content/addressbook.js +++ b/mozilla/mail/components/addrbook/content/addressbook.js @@ -602,6 +602,12 @@ function SetStatusText(total) } } +function AbResultsPaneKeyPress(event) +{ + if (event.keyCode == 13) + AbEditSelectedCard(); +} + function AbResultsPaneDoubleClick(card) { AbEditCard(card); diff --git a/mozilla/mail/components/addrbook/content/addressbook.xul b/mozilla/mail/components/addrbook/content/addressbook.xul index 375cbb360a6..e3b47f0da52 100644 --- a/mozilla/mail/components/addrbook/content/addressbook.xul +++ b/mozilla/mail/components/addrbook/content/addressbook.xul @@ -602,6 +602,7 @@