Quoting from closed topic

Continuing the discussion from Quote post from closed topic:

If I’m currently editing a reply to a thread, I like to browse around the forum to find other quotes. I would then select some text, and click “quote” to add the quote to my current post. This works really well.

However, if I navigate onto a closed topic, and try and quote something from it, I get this message


and then if I click ‘Yes’, it deletes what I’ve been working on and does a fresh “reply as new topic”.

I would expect “reply as new topic” to only happen only if the composer is not open

Suspect it is related to this commit:
https://github.com/discourse/discourse/commit/298098745ee43128b18918b161f9669c04dde212

8 Likes

I see so this is a bit of a bug @eviltrout that logic should only fire if there is not an editor already open.

6 Likes

This fixes it, thanks for letting me know:

https://github.com/discourse/discourse/commit/bee8425055e68601c4baa79987eb9038de04d559

6 Likes