rem: SetFolderPicker(curFolder, targetid); 
add: SetFolderPicker(curFolder, gActionTargetElement.id); 
context: function SearchNewFolderOkCallback(name,uri,targetid){  var msgFolder = GetMsgFolderFromUri(uri, true);  var imapFolder = null;  try  {    imapFolder = msgFolder.QueryInterface(Components.interfaces.nsIMsgImapMailFolder);  }  catch(ex) {}  var mailSessionContractID = "@mozilla.org/messenger/services/session;1";  if (imapFolder) //imapFolder creation is asynchronous.  {    if (!gMailSession)      gMailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession);    try     {      var nsIFolderListener = Components.interfaces.nsIFolderListener;      var notifyFlags = nsIFolderListener.event;      gMailSession.AddFolderListener(gFolderListener, notifyFlags);    }     catch (ex)     {      dump("Error adding to session: " +ex + "\n");    }  }  var msgWindow = GetFilterEditorMsgWindow();  if (imapFolder)    SetBusyCursor(window, true);  msgFolder.createSubfolder(name, msgWindow);    if (!imapFolder)  {    var curFolder = uri+"/"+encodeURIComponent(name);    SetFolderPicker(curFolder, targetid);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/987ae6bf26865d3fddd70d45a0f1cd10905433b9/FilterEditor.js/buggy/mailnews/base/search/resources/content/FilterEditor.js