rem: messenger.RenameFolder(GetFolderDatasource(), selectedFolder, name); 
add: messenger.renameFolder(GetFolderDatasource(), selectedFolder, name); 
context: function RenameFolder(name,uri){  dump("uri,name = " + uri + "," + name + "\n");  var folderTree = GetFolderTree();  if (folderTree)  {    if (uri && (uri != "") && name && (name != ""))     {      var selectedFolder = GetResourceFromUri(uri);      if (gDBView)        gCurrentlyDisplayedMessage = gDBView.currentlyDisplayedMessage;      ClearThreadPane();      ClearMessagePane();      folderTree.view.selection.clearSelection();      try      {        messenger.RenameFolder(GetFolderDatasource(), selectedFolder, name);      }      catch(e)      {        SelectFolder(selectedFolder.URI);  //restore selection        throw(e); // so that the dialog does not automatically close        dump ("Exception : RenameFolder \n");      }    }    else     {      dump("no name or nothing selected\n");    }     }  else   {	  dump("no folder tree\n");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/0d4059c32bb899b0b564e88da3b2dd8cd4e4a21e/widgetglue.js/buggy/mail/base/content/widgetglue.js