[Pkg-mozext-commits] [nostalgy] 127/235: fix a bug that closed the Nostalgy completion box in wrong cases
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:42:02 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository nostalgy.
commit ebab746d53013a5b5225fbf2218a9cf2752da243
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Tue Aug 28 19:09:01 2007 +0000
fix a bug that closed the Nostalgy completion box in wrong cases
git-svn-id: http://nostalgy.googlecode.com/svn/trunk@127 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
CHANGES | 5 +++--
content/nostalgy.js | 8 +++++---
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/CHANGES b/CHANGES
index 707dfcf..b661d24 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,7 +1,8 @@
-Since 0.2.13
- - don't capture keys when another widgets want them (e.g. a menu popup)
+0.2.14
+ - don't capture keys when another widget want them (e.g. a menu popup)
- moving dev repository from CVS to SVN with public access
- when cycling with "`" is over, restore the last search mode
+ - fix a bug that closed the Nostalgy completion box in wrong cases
0.2.13
- a system to export and import Nostalgy's rules (through e-mails)
diff --git a/content/nostalgy.js b/content/nostalgy.js
index 8488c27..636fa40 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -342,15 +342,17 @@ function onNostalgyUnload() {
NostalgyRules.unregister();
Components.classes["@mozilla.org/observer-service;1"].
- getService(Components.interfaces.nsIObserverService).
+ getService(Components.interfaces.nsIObserverService)
removeObserver(NostalgyObserver, "MsgMsgDisplayed");
}
function NostalgyHideIfBlurred() {
setTimeout(function (){
+ var focused = document.commandDispatcher.focusedElement;
if ((!nostalgy_statusBar.hidden) &&
- (document.commandDispatcher.focusedElement != nostalgy_folderBox))
- { NostalgyHide(false); }
+ (focused != nostalgy_folderBox) &&
+ (focused != nostalgy_folderBox.inputField))
+ { NostalgyHide(false); }
}, 500);
}
--
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