[Pkg-mozext-commits] [nostalgy] 190/252: Fix bug.
David Prévot
taffit at moszumanska.debian.org
Tue Jun 14 15:24:57 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 ceb1360617c0204f7c21c1042e927131abd17c04
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Wed Jan 6 16:57:27 2010 +0000
Fix bug.
---
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