I'm having some difficulty trying to add a classname to the lead div in a conversation view. I'm referring to the div that holds the parent message in the ListView that has the NodeExpand and NodeCollapse imagery embedded.

Within the ZmConvListView.prototype._expand function (in MailCore_all.js), I am able to obtain the div ID of the parent message using the following code:

expDiv = this._getItemId(item);

This leads me to believe that "item" is in fact the parent message. Within the same function, I'm trying to add a class name using the following code:

Dwt.addClass(item, "-Selected");

I've tried every method I can think of to add a class to this div, but it just won't take. My feeling is that I'm not targeting that item properly, or that possibly the DwtListView JS code takes precedence over my code in MailCore_all.js.

Any help on this issue is greatly appreciated.

Thank you,