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. |
||
|---|---|---|
| .. | ||
| acceptance | ||
| admin | ||
| components | ||
| controllers | ||
| ember | ||
| fixtures | ||
| helpers | ||
| initializers | ||
| lib | ||
| mixins | ||
| models | ||
| widgets | ||
| plugin_tests.js.erb | ||
| test_helper.js | ||