[Pkg-mozext-commits] [nostalgy] 213/252: Remove code that breaks under TB12 and seems useless.

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:25:00 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 675104ba6a58c36a7d0bacfa186f1a4c0e4dab99
Author: alain.frisch at gmail.com <alain.frisch at gmail.com@56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Sun Mar 11 07:54:28 2012 +0000

    Remove code that breaks under TB12 and seems useless.
---
 content/folders.js | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/content/folders.js b/content/folders.js
index 3d6cf8e..9e84cea 100644
--- a/content/folders.js
+++ b/content/folders.js
@@ -237,14 +237,6 @@ function NostalgyStartLookup() {
     } catch (e) { NostalgyDebug("ERR" + e); }
 }
 
-function NostalgyProcessResults(aSessionName, aResults, aStatus) {
- this.clearResults(false); // clear results, but don't repaint yet
- this.mLastResults[aSessionName] = aResults;
- this.autoFillInput(aSessionName, aResults, false);
- this.addResultElements(aSessionName, aResults);
- this.openResultPopup();
-}
-
 function NostalgyProcessInput() {
  if (this.ignoreInputEvent)
    return;
@@ -254,7 +246,8 @@ function NostalgyProcessInput() {
  this.mTransientValue = false;
  this.mNeedToComplete = true;
  this.currentSearchString = this.value;
- this.resultsPopup.selectedIndex = null;
+// this.resultsPopup.selectedIndex = null;
+// this.popup.selectedIndex = null;
  this.removeAttribute("noMatchesFound");
 
  this.mAutoCompleteTimer =
@@ -283,14 +276,16 @@ function NostalgyProcessKeyPress(aEvent) {
    case KeyEvent.DOM_VK_RETURN:
      killEvent = this.mMenuOpen;
      this.finishAutoComplete(true, true, aEvent);
-     this.closeResultPopup();
+//     this.closePopup();
+//     this.closeResultPopup();
      break;
 
    case KeyEvent.DOM_VK_ESCAPE:
      this.clearTimer();
      killEvent = this.mMenuOpen;
      this.undoAutoComplete();
-     this.closeResultPopup();
+//     this.closePopup();
+//     this.closeResultPopup();
      break;
 
    case KeyEvent.DOM_VK_PAGE_UP:

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