[Pkg-mozext-commits] [nostalgy] 126/235: git-svn-id: http://nostalgy.googlecode.com/svn/trunk at 126 56b81dcf-5a2f-0410-9db0-014be2e416ff

David Prévot taffit at alioth.debian.org
Tue Oct 8 20:42:01 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 c15c393ac1e7dd257aeb37f35e86a2cbd260a469
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Tue Jul 17 20:42:43 2007 +0000

    git-svn-id: http://nostalgy.googlecode.com/svn/trunk@126 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
 content/nostalgy.js |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/content/nostalgy.js b/content/nostalgy.js
index 920eabc..8488c27 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -735,7 +735,7 @@ function NostalgyFocusMessagePane() {
   }
 }
 
-var last_cycle_restrict_value = null;
+var last_cycle_restrict_value = "";
 var last_cycle_restrict = 0;
 var last_cycle_saved_searchMode = 0;
 
@@ -750,13 +750,11 @@ function NostalgySearchSender() {
   input.clearButtonHidden = false;
   var name = (recips ? MailRecipName() : MailAuthorName());
   var subj = MailSubject();
-  if (input.value != last_cycle_restrict_value) {
-    last_cycle_restrict = 0;
-    last_cycle_saved_searchMode = input.searchMode;
-  }
+  if (input.value != last_cycle_restrict_value) last_cycle_restrict = 0;
   last_cycle_restrict++;
   if (last_cycle_restrict == 1)
-  { input.value = name; input.searchMode = kQuickSearchSender; }
+  { last_cycle_saved_searchMode = input.searchMode;
+    input.value = name; input.searchMode = kQuickSearchSender; }
   else if (last_cycle_restrict == 2)
   { input.value = subj; input.searchMode = kQuickSearchSubject; }
   else

-- 
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