TB3:
var msgUri =
gMessageDisplay.folderDisplay.selectedMessageUris[0];
SM2:
var msgUri = GetLoadedMessage();
to get the selected message.
SM2 here works more than TB2 and PB ??
... anymore differences to be aware of ?????
For me SM2 ins'nt code equivalent with TB3 ... or do I miss a paper
about those differences??
Any GENERAL pointers available?
G�nter
gMessageDisplay.folderDisplay is an alias to gFolderDisplay so you can use:
gFolderDisplay.selectedMessageUris[0];
in both SM2 and TB3
> ... anymore differences to be aware of ?????
> For me SM2 ins'nt code equivalent with TB3 ... or do I miss a paper
> about those differences??
>
> Any GENERAL pointers available?
This is a work in progress:
<https://developer.mozilla.org/en/Extensions_support_in_SeaMonkey_2#gFolderDisplay_API>
We haven't added the openTab() differences yet. We were following an
older TB3beta version of their tabmail and didn't realized that they had
changed their API.
Phil
--
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.