Fix bug 125606 and bug 126355. Clear out the textfield on refresh (bug 125606) and on switching servers (bug 126355). r=suresh@netscape.com, sr=sspitzer@netscape.com

This commit is contained in:
stephend%netscape.com 2002-02-19 05:38:33 +00:00
Родитель 1b4eda784f
Коммит 6d28e2947d
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -129,7 +129,7 @@ function SetUpTree(forceToServer)
EnableSearchUI();
// clear out the text field when switching server
gNameField.setAttribute('value',"");
gNameField.value = "";
// since there is no text, switch to the non-search view...
SwitchToNormalView();
@ -452,8 +452,10 @@ function SubscribeOnClick(event)
function Refresh()
{
// force it to talk to the server
SetUpTree(true);
// clear out the textfield's entry on call of Refresh()
gNameField.value = "";
// force it to talk to the server
SetUpTree(true);
}
function InvalidateSearchOutlinerRow(row)