зеркало из https://github.com/mozilla/pjs.git
Load Message
This commit is contained in:
Родитель
fb86159ca9
Коммит
3d86453665
|
@ -30,4 +30,12 @@ function GetNewMail()
|
|||
appCore.SetWindow(window);
|
||||
appCore.GetNewMail();
|
||||
}
|
||||
}
|
||||
|
||||
function LoadMessage(messageNode)
|
||||
{
|
||||
var uri = messageNode.getAttribute('id');
|
||||
dump(uri);
|
||||
OpenURL(uri);
|
||||
|
||||
}
|
|
@ -9,7 +9,7 @@
|
|||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
|
||||
<tree rdf:datasources="rdf:mailnews" id="threadTree">
|
||||
<tree rdf:datasources="rdf:mailnews" id="threadTree" onclick="return parent.LoadMessage(event.target.parentNode)">
|
||||
<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"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче