rem: return; }  if (elt.value == "twisty") { if (!(folderTree.treeBoxObject.view.isContainerOpen(row.value))) { var folderResource = GetFolderResource(folderTree, row.value);  var isServer = GetFolderAttribute(folderTree, folderResource, "IsServer"); if (isServer == "true") { var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder); var server = msgFolder.server; server.performExpand(msgWindow); } else { var serverType = GetFolderAttribute(folderTree, folderResource, "ServerType"); if (serverType == "imap") { var imapFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgImapMailFolder); imapFolder.performExpand(msgWindow); } } } 
context: function FolderPaneOnClick(event){    // we only care about button 0 (left click) events    if (event.button != 0)        return;    var folderTree = GetFolderTree();    var row = {};    var col = {};    var elt = {};    folderTree.treeBoxObject.getCellAt(event.clientX, event.clientY, row, col, elt);    if (row.value == -1) {      if (event.originalTarget.localName == "treecol")        // clicking on the name column in the folder pane should not sort        event.stopPropagation();      return;    }    if (elt.value == "twisty")    {        if (!(folderTree.treeBoxObject.view.isContainerOpen(row.value)))        {            var folderResource = GetFolderResource(folderTree, row.value);            var isServer = GetFolderAttribute(folderTree, folderResource, "IsServer");            if (isServer == "true")            {                var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);                var server = msgFolder.server;                server.performExpand(msgWindow);            }            else            {                var serverType = GetFolderAttribute(folderTree, folderResource, "ServerType");                if (serverType == "imap")                {                    var imapFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgImapMailFolder);                    imapFolder.performExpand(msgWindow);                }            }        }    }    else if ((event.originalTarget.localName == "slider") ||             (event.originalTarget.localName == "scrollbarbutton")) {      event.stopPropagation();    }    else if (event.detail == 2) {      FolderPaneDoubleClick(row.value, event);    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/54ef3cf434bff80fa6c63da6541c8803bb2cf05d/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js