Bug 411226 - Migrate SeaMonkey's smart browsing preferences to new pref window (also rename panel to 'Location Bar'). r=IanN, sr=Neil.
authorstefanh@inbox.com
Tue, 06 May 2008 10:10:03 -0700
changeset 22648 971e6fa6771ff36088cf1a5381dbacc6eaf1867b
parent 22647 2dc5d118f70889eab37f27ebde5e232437cd6eff
child 22649 f4811ba7c78092d9bed7ef22274e1587c660165b
push id13793
push userfrgrahl@gmx.net
push dateMon, 27 Nov 2017 16:30:48 +0000
treeherdercomm-central@85eb5dd6d56a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, Neil
bugs411226
Bug 411226 - Migrate SeaMonkey's smart browsing preferences to new pref window (also rename panel to 'Location Bar'). r=IanN, sr=Neil.
suite/common/autocomplete/resources/content/autocomplete.xml
--- a/suite/common/autocomplete/resources/content/autocomplete.xml
+++ b/suite/common/autocomplete/resources/content/autocomplete.xml
@@ -1119,17 +1119,17 @@
         ]]></body>
       </method>
 
       <!-- ::::::::::::: popup and tree ::::::::::::: -->
 
       <!--  -->
       <method name="openResultPopup">
         <body><![CDATA[
-          if (!this.mMenuOpen && this.showPopup && this.focused &&
+          if (!this.mMenuOpen && this.focused &&
                (this.getResultCount("") >= this.minResultsForPopup
                 || this.mFailureItems)) {
             var w = this.boxObject.width;
             if (w != this.resultsPopup.boxObject.width)
               this.resultsPopup.setAttribute("width", w);
             this.resultsPopup.showPopup(this, -1, -1, "popup", "bottomleft", "topleft");
             this.mMenuOpen = true;
           }
@@ -1146,17 +1146,17 @@
         ]]></body>
       </method>
 
       <!--  -->
       <method name="addResultElements">
         <parameter name="aSessionName"/>
         <parameter name="aResults"/>
         <body><![CDATA[
-          if (this.focused) {
+          if (this.focused && this.showPopup) {
             this.view.addResults(aResults);
             this.resultsPopup.adjustHeight();
           }
         ]]></body>
       </method>
 
       <!--  -->
       <method name="clearResultElements">