add: SetBusyCursor(window, false); 
context: function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection, viewType){  dump('In ChangeFolderByURI uri = ' + uri + "\n");  if (uri == gCurrentLoadingFolderURI)    return;  var resource = RDF.GetResource(uri);  var msgfolder =      resource.QueryInterface(Components.interfaces.nsIMsgFolder);  try {      setTitleFromFolder(msgfolder, null);  } catch (ex) {      dump("error setting title: " + ex + "\n");  }    //if it's a server, clear the threadpane and don't bother trying to load.  if(msgfolder.isServer)  {        ClearThreadPane();        // Load AccountCentral page here.        ShowAccountCentral(); 	return;  }  // If the user clicks on msgfolder, time to display thread pane and message pane.  // Hide AccountCentral page  if (gAccountCentralLoaded)  {      HideAccountCentral();  }     if (showPerformance) {     gBeforeFolderLoadTime = new Date();  }  gCurrentLoadingFolderURI = uri;  gNextMessageAfterDelete = null; // forget what message to select, if any  if(msgfolder.manyHeadersToDownload())  {	try	{		SetBusyCursor(window, true);		gCurrentFolderToReroot = uri;		gCurrentLoadingFolderIsThreaded = isThreaded;		gCurrentLoadingFolderSortID = sortID;		gCurrentLoadingFolderSortDirection = sortDirection;        gCurrentLoadingFolderViewType = viewType;		msgfolder.startFolderLoading();		msgfolder.updateFolder(msgWindow);	}	catch(ex)	{        dump("Error loading with many headers to download: " + ex + "\n");	}  }  else  {    SetBusyCursor(window, true);	gCurrentFolderToReroot = "";	gCurrentLoadingFolderIsThreaded = false;	gCurrentLoadingFolderSortID = "";    gCurrentLoadingFolderViewType = "";	RerootFolder(uri, msgfolder, isThreaded, sortID, sortDirection, viewType);	//Need to do this after rerooting folder.  Otherwise possibility of receiving folder loaded	//notification before folder has actually changed.	msgfolder.updateFolder(msgWindow);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cd2d20d3118be68ae11257036a4c89d5a5dac63/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js