rem: var name = GetFolderNameFromUri(preselectedURI, folderTree); 
add: var name = GetFolderNameFromUri(preselectedURI, folderOutliner); 
context: function MsgRenameFolder() {	var preselectedURI = GetSelectedFolderURI();	var folderTree = GetFolderTree();	var name = GetFolderNameFromUri(preselectedURI, folderTree);	dump("preselectedURI = " + preselectedURI + "\n");	var dialog = window.openDialog(	             "chrome://messenger/content/renameFolderDialog.xul",	             "newFolder",	             "chrome,titlebar,modal",	             {preselectedURI: preselectedURI, 	              okCallback: RenameFolder, name: name});}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/938770831965cde1ef5c4ce945b768186518efae/widgetglue.js/buggy/mailnews/base/resources/content/widgetglue.js