mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
c4d1833588
When we delete a post that has replies, we show a modal asking if the user wants to delete the post, the post and its direct replies or the post and all its replies. If replies are deleted before a post, that modal would ask the user if they want to delete the post and 0 replies. That commit ensure we skip the modal and directly delete the post in this case. |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets | ||
run-qunit.js | ||
smoke_test.js |