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:
timeless%mozdev.org 2004-12-01 22:26:51 +00:00
parent 49439c028d
commit 6eaac1f696

View File

@ -479,6 +479,9 @@ function onReset(event)
while (gTotalSearchTerms>0)
removeSearchRow(--gTotalSearchTerms);
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