Comment 290 for bug 52667

Revision history for this message
In , Blake Winton (bwinton) wrote :

Created an attachment (id=382141)
 A patch to enable and disable the Reply-* menu options and toolbar buttons.

Re mail/base/content/msgHdrViewOverlay.js, line 417-418:

I also figured out that I don't need to call UpdateReplyButtons() from messageHeaderSink.onEndHeaders(), because that method calls UpdateMessageHeaders() which calls updateHeaderViews(), which calls UpdateReplyButtons().

I think we can get rid of the call to UpdateJunkButton() in messageHeaderSink.onEndHeaders() as well, for the same reason, but I haven't made that change in this patch.