[Pkg-mozext-commits] [nostalgy] 191/235: Fix bug.
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:42:22 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 c429de0952c673bf88efe79e5f5f1cd4705f843b
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Wed Jan 6 16:57:27 2010 +0000
Fix bug.
git-svn-id: http://nostalgy.googlecode.com/svn/trunk@191 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
content/nostalgy.js | 8 ++++++--
files | 1 +
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/content/nostalgy.js b/content/nostalgy.js
index 746cd74..1604fb4 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -699,7 +699,11 @@ function NostalgySearchSender() {
if (!input) { alert("Nostalgy error:\nCannot perform this action when Quick Search is not enabled"); return false; }
try {
var recips = gDBView.msgFolder.displayRecipients;
- var key = gDBView.hdrForFirstSelectedMessage.messageKey;
+ var key = "";
+ try {
+ key = gDBView.hdrForFirstSelectedMessage.messageKey;
+ } catch (ex) { return; }
+
input.focus();
input.showingSearchCriteria = false;
input.clearButtonHidden = false;
@@ -738,7 +742,7 @@ function NostalgySearchSender() {
last_cycle_restrict_value = to_search;
NostalgyDoSearch(to_search);
SetFocusThreadPane();
- gDBView.selectMsgByKey(key);
+ if (key != "") gDBView.selectMsgByKey(key);
} catch (ex) {
alert(ex);
input.focus();
diff --git a/files b/files
index ec7d0f2..b55f296 100644
--- a/files
+++ b/files
@@ -13,6 +13,7 @@ content/messageOverlay.xul
content/misc.js
content/nfpredict.js
content/nostalgy.js
+content/nostalgy.js.orig
content/nostalgy_keys.js
content/sqlite.js
content/thunderbirdOverlay.xul
--
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