diff --git a/mozilla/browser/components/search/content/search.xml b/mozilla/browser/components/search/content/search.xml index 991fa1613af..c0167117e97 100644 --- a/mozilla/browser/components/search/content/search.xml +++ b/mozilla/browser/components/search/content/search.xml @@ -71,9 +71,9 @@ completeselectedindex="true" tabscrolling="true" xbl:inherits="disableautocomplete,searchengine,src"> - - + # XXX We'd like to add a context="_child" property to this toolbarbutton, but doing # so causes the context menu to show up for the textbox too, and subsequently crashes # the app on shutdown. See bug 336662. @@ -213,7 +213,7 @@ ]]> - @@ -221,7 +221,7 @@ = 0; i--) { @@ -249,12 +249,12 @@ popup.insertBefore(separator, insertLocation); // Insert the "add this engine" items. - for (var i = 0; i < addengines.length; i++) { - menuitem = document.createElement("menuitem"); + for (var i = 0; i < addengines.length; i++) { + var menuitem = document.createElement("menuitem"); var engineInfo = addengines[i]; - var labelStr = - this._stringBundle.getFormattedString("cmd_addFoundEngine", - [engineInfo.title]); + var labelStr = + this._stringBundle.getFormattedString("cmd_addFoundEngine", + [engineInfo.title]); menuitem = document.createElementNS(kXULNS, "menuitem"); menuitem.setAttribute("class", "menuitem-iconic addengine-item"); menuitem.setAttribute("label", labelStr); @@ -270,7 +270,7 @@ @@ -293,7 +293,7 @@ menuitem.setAttribute("id", this._engines[i].name); menuitem.setAttribute("class", "menuitem-iconic searchbar-engine-menuitem"); // Since this menu is rebuilt by the observer method whenever a new - // engine is selected, the "selected" attribute does not need to be + // engine is selected, the "selected" attribute does not need to be // explicitly cleared anywhere. if (this._engines[i] == this.currentEngine) menuitem.setAttribute("selected", "true"); @@ -308,7 +308,7 @@ @@ -434,7 +434,7 @@ - + - + @@ -591,22 +591,22 @@