[Pkg-mozext-commits] [nostalgy] 150/252: MakeStartLookup work with TB 2 as well.

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:51 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 c3832f478fb9674ef39129443cb671b5cb258cd3
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Wed Mar 18 21:50:37 2009 +0000

    MakeStartLookup work with TB 2 as well.
---
 content/folders.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/content/folders.js b/content/folders.js
index c96ecd0..81cf081 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -194,12 +194,15 @@ function(iid) {
 function NostalgyStartLookup() {
     // Copy from autocomplete.xml, but does not exit early if box is empty
     var str = this.currentSearchString;
+    try{
 
     this.isSearching = true;
     this.mFirstReturn = true;
     this.mSessionReturns = this.sessionCount;
+    this.mFailureCount = 0; // For TB 2.0
     this.mFailureItems = 0;
     this.mDefaultMatchFilled = false; // clear out our prefill state.
+    this.removeAttribute("noMatchesFound"); // For TB 2.0
 
     // tell each session to start searching...
     for (var name in this.mSessions)
@@ -209,6 +212,7 @@ function NostalgyStartLookup() {
             --this.mSessionReturns;
             this.searchFailed();
         }
+    } catch (e) { NostalgyDebug("ERR" + e); }
 }
 
 function NostalgyProcessResults(aSessionName, aResults, aStatus) {

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