add: if (!isImap && selectedFolderUri && selectedFolderUri != "") { /* this doesn't work; local compact is now an async operation dump("selected folder = " + selectedFolderUri + "\n"); var selectedFolder = document.getElementById(selectedFolderUri); ChangeSelection(tree, selectedFolder); */ tree.clearItemSelection(); tree.clearCellSelection(); } 
context: function MsgCompactFolder() {	//get the selected elements	var tree = GetFolderTree();    if (tree)    {        var folderList = tree.selectedItems;        if (folderList)        {            var i;            var folder;            for(i = 0; i < folderList.length; i++)            {                folder = folderList[i];                if (folder)                {                    folderuri = folder.getAttribute('id');                    dump(folderuri);                    dump("folder = " + folder.nodeName + "\n");                     messenger.CompactFolder(tree.database, folder.resource);                }            }        }	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/558cf5d1f10f10208f4d62c467d1116c5193a4ce/widgetglue.js/clean/mailnews/base/resources/content/widgetglue.js