can now change folder root. Reviewed by waterson and approved by chofmann

This commit is contained in:
putterman%netscape.com 1999-03-15 22:33:09 +00:00
parent 3cc81cdb06
commit ceeb0bac1b
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ function ChangeFolder(folderNode)
{
var uri = folderNode.getAttribute('id');
dump(uri);
var tree = frames[0].frame[1].document.getElementById('threadTree');
var tree = frames[0].frames[1].document.getElementById('threadTree');
tree.childNodes[4].setAttribute('id', uri);
}

View File

@ -9,7 +9,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<tree rdf:datasources="rdf:mailnews" id="threadTree" onclick="return parent.parent.LoadMessage(event.target.parentNode)">
<tree rdf:datasources="rdf:mailnews" id="threadTree" onclick="return parent.parent.LoadMessage(event.target.parentNode)" rdf:containment="http://home.netscape.com/NC-rdf#MessageChild">
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Subject"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Sender"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Date"/>
@ -22,7 +22,7 @@
</treehead>
<treebody id="mailbox://Inbox" rdf:containment="http://home.netscape.com/NC-rdf#MessageChild">
<treebody id="mailbox://Inbox">
<treeitem open="true">
</treeitem>
</treebody>