rem: messenger.DeleteFolders(tree.database, parent, folder); 
add: messenger.DeleteFolders(tree.database, parent.resource, folder.resource); 
context: function MsgDeleteFolder(){	//get the selected elements	var tree = GetFolderTree();	var folderList = tree.selectedItems;	var i;	var folder, parent;	for(i = 0; i < folderList.length; i++)	{		folder = folderList[i];	    folderuri = folder.getAttribute('id');		dump(folderuri);		parent = folder.parentNode.parentNode;		    var parenturi = parent.getAttribute('id');		if(parenturi)			dump(parenturi);		else			dump("No parenturi");		dump("folder = " + folder.nodeName + "\n"); 		dump("parent = " + parent.nodeName + "\n"); 		messenger.DeleteFolders(tree.database, parent, folder);	}}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/1038bd68e3102cdd1cf7c3948945302647de6281/widgetglue.js/buggy/mailnews/base/resources/content/widgetglue.js