зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
1b4eda784f
Коммит
6d28e2947d
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче