rem: var folder  = GetMsgFolderFromUri(window.arguments[0].preselectedURI, false); 
add:    var srchFolderUriArray = gSearchFolderURIs.split('|'); var folder  = GetMsgFolderFromUri(srchFolderUriArray[0] ? srchFolderUriArray[0] : window.arguments[0].preselectedURI, false); 
context: function chooseFoldersToSearch(){  var folder  = GetMsgFolderFromUri(window.arguments[0].preselectedURI, false);  var dialog = window.openDialog("chrome://messenger/content/virtualFolderListDialog.xul", "",                                 "chrome,titlebar,modal,centerscreen,resizable",                                 {serverURI:folder.rootFolder.URI,                                  searchFolderURIs:gSearchFolderURIs,                                  okCallback:onFolderListDialogCallback}); }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f38fadfb590160f5c9bb31183868c8850643901a/virtualFolderProperties.js/buggy/mailnews/base/resources/content/virtualFolderProperties.js