discourse/discourse — pull request #804 by ZogStriP (2013-05-02 00:25:31+00:00)
Title: FIX: when topic is closed, you can still invite someone to reply

Meta: [When topic is closed, you can still invite someone to reply](http://meta.discourse.org/t/when-topic-is-closed-you-can-still-invite-someone-to-reply/6292)

This disables the `invite` button when the topic is **archived** or **closed**:

![image](https://f.cloud.github.com/assets/362783/451860/953812ca-b2be-11e2-998c-32c9a6de179e.png)