Add support for up/down arrow keys in the addressbook module.

Monotone-Parent: e8b0505014499859d4ee1b044eee6a3aa1df237e
Monotone-Revision: c4226ef2a5d9916a1dfaf208090b305fbf25864f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-03-27T18:25:22
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-03-27 18:25:22 +00:00
parent 1f7957b868
commit c244a5b97a
2 changed files with 71 additions and 6 deletions
+4 -1
View File
@@ -1486,7 +1486,10 @@ function initMailer(event) {
initMailboxTree();
initMessageCheckTimer();
Event.observe(document, "keydown", onDocumentKeydown);
if (Prototype.Browser.Gecko)
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
else
Event.observe(document, "keydown", onDocumentKeydown);
/* Perform an expunge when leaving the webmail */
if (isSafari()) {