Bug 471778 - Convert the min/max user count filters into type="search" as well.

r=gijs
ChatZilla only.


git-svn-id: svn://10.0.0.236/trunk@256285 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
silver%warwickcompsoc.co.uk 2009-02-22 13:08:39 +00:00
parent 27d2f2465d
commit 3c40bbdb59
2 changed files with 7 additions and 3 deletions

View File

@ -152,9 +152,13 @@ function onLoad()
// If the new "search" binding is not working (i.e. doesn't exist)...
if (!("searchButton" in channelFilterText))
{
// ...restore the search box to its former self.
// ...restore the text boxes to their former selves.
channelFilterText.setAttribute("timeout", "500");
channelFilterText.setAttribute("type", "timed");
channelMinUsers.setAttribute("timeout", "500");
channelMinUsers.setAttribute("type", "timed");
channelMaxUsers.setAttribute("timeout", "500");
channelMaxUsers.setAttribute("type", "timed");
}
// Sort by user count, decending.

View File

@ -97,13 +97,13 @@
<row align="center">
<label value="&minusers.label;" accesskey="&minusers.accesskey;"
control="minUsers"/>
<textbox id="minUsers" type="timed" timeout="500"
<textbox id="minUsers" type="search"
oncommand="onFilter()"/>
</row>
<row align="center">
<label value="&maxusers.label;" accesskey="&maxusers.accesskey;"
control="maxUsers"/>
<textbox id="maxUsers" type="timed" timeout="500"
<textbox id="maxUsers" type="search"
oncommand="onFilter()"/>
</row>
</rows>