[Pkg-mozext-commits] [nostalgy] 85/252: *** empty log message ***

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository nostalgy.

commit 92c502853e7dd7ed509da77dcc7f4d805c56898a
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Thu May 24 21:22:30 2007 +0000

    *** empty log message ***
---
 CHANGES             | 4 ++++
 content/nostalgy.js | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index 71566b8..3d2c280 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+Since 0.2.13
+  - bug fix: custom shortcuts should not be recognized when typing
+    in a text box (QuickSearch or Nostalgy's completion box)
+
 0.2.12
   - bug fix: use the mime-decoded version for the subject (for matching
     rules and searching messages with same subject); needed to deal
diff --git a/content/nostalgy.js b/content/nostalgy.js
index 59a82d3..e0ceadc 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -619,6 +619,7 @@ function onNostalgyKeyPress(ev) {
     ev.preventDefault();
     return;
   }
+  if (ev.originalTarget.localName == "input") return;
   var k = custom_keys[RecognizeKey(ev)];
   if (k) { ParseCommand(k); ev.preventDefault(); }
 }
@@ -639,6 +640,7 @@ window.addEventListener("load", onNostalgyLoad, false);
 window.addEventListener("resize", onNostalgyResize, false);
 window.addEventListener("unload", onNostalgyUnload, false);
 
-if (!in_message_window) 
+if (!in_message_window)
   window.addEventListener("keypress", onNostalgyKeyPress, false);
 
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nostalgy.git



More information about the Pkg-mozext-commits mailing list