discourse/test/javascripts/controllers
Bianca Nenciu c4d1833588 FIX: Do not show bootbox if post has no replies. (#7866)
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.
2019-07-12 11:42:57 +02:00
..
avatar-selector-test.js.es6 REFACTOR: new 'show-avatar-select' app event to trigger the avatar selector modal 2018-07-25 12:38:15 +02:00
create-account-test.js.es6 DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
group-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
history-test.js.es6 FEATURE: Show edit indicator on review queue 2019-05-03 11:21:33 -04:00
preferences-account-test.js.es6 FIX: prevent anonymous users from changing their email/username/name (#7311) 2019-04-17 18:05:02 +10:00
preferences-second-factor-test.js.es6 REFACTOR: Serve auth provider information in the site serializer. 2018-08-06 09:25:48 +01:00
reorder-categories-test.js.es6 FIX: Fixed category reordering using arrow icons (#7374) 2019-04-15 10:56:21 +10:00
topic-test.js.es6 FIX: Do not show bootbox if post has no replies. (#7866) 2019-07-12 11:42:57 +02:00