[Pkg-mozext-commits] [nostalgy] 189/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 49e1c842e87aa9c1d868932657611a621a3faf61
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Wed Jan 6 16:53:14 2010 +0000
Fix bug.
---
CHANGES | 1 +
content/nfpredict.js | 6 +++++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/CHANGES b/CHANGES
index 073e443..769de6c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,7 @@ Since 0.2.23
- bug fix: tags where not always found when used for custom keys
- Do not show TB's status bar again after Nostalgy action,
when the user does not want it
+ - Fix bug when a category is selected (Group by sort mode)
0.2.23
- Add explicit size for the preference dialog.
diff --git a/content/nfpredict.js b/content/nfpredict.js
index a34d5e2..9e3e1ea 100644
--- a/content/nfpredict.js
+++ b/content/nfpredict.js
@@ -177,7 +177,11 @@ var NostalgyPredict =
var folder = nsiFolder.URI;
- var hdr = gDBView.hdrForFirstSelectedMessage;
+ var hdr;
+ try {
+ hdr = gDBView.hdrForFirstSelectedMessage;
+ } catch (ex) { NostalgyDebug("Cannot get header for first message:" + ex); return; }
+
var addresses = (hdr.author + " " + hdr.recipients + " " + hdr.ccList).toLowerCase();
var folder_id=this.find_folder_id(folder);
--
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