Bug 449669 - use the new search textbox binding in about:config. r=mano

This commit is contained in:
Steffen Wilberg 2008-09-07 17:57:24 +02:00
parent 8ee27486d6
commit 5222d5ac9f
3 changed files with 1 additions and 13 deletions

View File

@ -421,15 +421,6 @@ function FilterPrefs()
view.treebox.invalidate();
view.treebox.rowCountChanged(oldlen, gPrefView.length - oldlen);
gotoPref(prefCol);
document.getElementById("button").disabled = !substring;
}
function ClearFilter(button)
{
var textbox = document.getElementById("textbox");
textbox.value = "";
textbox.focus();
FilterPrefs();
}
function prefColSortFunction(x, y)

View File

@ -99,8 +99,7 @@
<vbox flex="1">
<hbox id="filterRow" align="center">
<label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
<textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
<button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
<textbox id="textbox" flex="1" type="search" oncommand="FilterPrefs();"/>
</hbox>
<tree id="configTree" flex="1" class="plain focusring" seltype="single"

View File

@ -45,8 +45,6 @@
<!ENTITY filterPrefs.label "Filter:">
<!ENTITY filterPrefs.accesskey "I">
<!ENTITY showAll.label "Show All">
<!ENTITY showAll.accesskey "W">
<!-- Columns -->
<!ENTITY prefColumn.label "Preference Name">