rem: gNameField.setAttribute('value',""); 
add: gNameField.value = ""; 
context: function SetUpTree(forceToServer){	//dump("SetUpTree()\n");		gStatusBar = document.getElementById('statusbar-icon');	if (!gServerURI) return;	var folder = GetMsgFolderFromUri(gServerURI, true);	var server = folder.server;	try {          CleanUpSearchView();          gSubscribableServer = server.QueryInterface(Components.interfaces.nsISubscribableServer);          gSubscribeTree.setAttribute('ref',null);          // enable (or disable) the search related UI          EnableSearchUI();          // clear out the text field when switching server          gNameField.setAttribute('value',"");          // since there is no text, switch to the non-search view...          SwitchToNormalView();          gSubscribeTree.database.RemoveDataSource(subscribeDS);          gSubscribableServer.subscribeListener = MySubscribeListener;          gStatusFeedback.showProgress(0);          gStatusFeedback.showStatusString(gSubscribeBundle.getString("pleaseWaitString"));          gStatusBar.setAttribute("mode","undetermined");          gSubscribableServer.startPopulating(msgWindow, forceToServer);	}	catch (ex) {          //dump("failed to populate subscribe ds: " + ex + "\n");	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d28e2947db15cf8d680777e85007fe4dd3e2d6b/subscribe.js/clean/mailnews/base/resources/content/subscribe.js