[Pkg-mozext-commits] [nostalgy] 151/235: MakeStartLookup work with TB 2 as well.
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:42:09 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 a14017c0cafd8ebcd05523d96264466eed0ff7c1
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.
git-svn-id: http://nostalgy.googlecode.com/svn/trunk@151 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
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