rem: dump(folderuri); parent = folder.parentNode.parentNode; var parenturi = parent.getAttribute('id'); if(parenturi) dump(parenturi); else dump("No parenturi"); dump("folder = " + folder.localName + "\n"); dump("parent = " + parent.localName + "\n"); messenger.DeleteFolders(tree.database, 
add: if (isNewsURI(folderuri)) { var msgfolder = GetMsgFolderFromURI(folderuri); var unsubscribe = ConfirmUnsubscribe(msgfolder); if (unsubscribe) { UnSubscribe(msgfolder); } } else { parent = folder.parentNode.parentNode; var parenturi = parent.getAttribute('id'); messenger.DeleteFolders(tree.database, 
context: function MsgDeleteFolder(){	//get the selected elements	var tree = GetFolderTree();	var folderList = tree.selectedItems;	var i;	var folder, parent;    var specialFolder;	for(i = 0; i < folderList.length; i++)	{		folder = folderList[i];	    folderuri = folder.getAttribute('id');        specialFolder = folder.getAttribute('SpecialFolder');        if (specialFolder != "Inbox" && specialFolder != "Trash")        {            dump(folderuri);            parent = folder.parentNode.parentNode;	            var parenturi = parent.getAttribute('id');            if(parenturi)                dump(parenturi);            else                dump("No parenturi");            dump("folder = " + folder.localName + "\n");             dump("parent = " + parent.localName + "\n");             messenger.DeleteFolders(tree.database,                                    parent.resource, folder.resource);        }	}}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8e2e09d2122f43345f2781b7e049a7f9b034e78d/mail3PaneWindowCommands.js/clean/mailnews/base/resources/content/mail3PaneWindowCommands.js