mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 129946 clicking Clear button should disable the Fewer button
patch by mark@standard8.demon.co.uk r=dmose sr=beinvenu
This commit is contained in:
parent
49439c028d
commit
6eaac1f696
@ -479,6 +479,9 @@ function onReset(event)
|
|||||||
while (gTotalSearchTerms>0)
|
while (gTotalSearchTerms>0)
|
||||||
removeSearchRow(--gTotalSearchTerms);
|
removeSearchRow(--gTotalSearchTerms);
|
||||||
onMore(event);
|
onMore(event);
|
||||||
|
|
||||||
|
// Ensure less button is disabled now that we have cleared everything
|
||||||
|
gSearchLessButton.setAttribute("disabled", "true");
|
||||||
}
|
}
|
||||||
|
|
||||||
// this is a helper routine used by our search term xbl widget
|
// this is a helper routine used by our search term xbl widget
|
||||||
|
Loading…
x
Reference in New Issue
Block a user