Ques/Help Finding thread type

S

SeaWolf

Guest
I would like to find the thread type (suggestion, article, discussion) when i'm reading, editing or when i create a new one.

If I do
<xf:js>
my_type_2 = document.getElementsByName('discussion_type');
....
</xf:js>

I get the type for a new thread, but if I reply or edit an existing one I get nothing.
How do I get the thread type when I edit or reply and not just when starting a new thread?

Thanks for any help

Continue reading...