This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
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
..
adapters SECURITY: XSS in routes 2019-06-26 16:34:15 +02:00
components UX: Add title attribute and aria-label to PM icon link 2019-07-10 23:05:57 -04:00
controllers FIX: Do not show bootbox if post has no replies. (#7866) 2019-07-12 11:42:57 +02:00
helpers FEATURE: Hide Reviewable scores, change score filter to Priority 2019-05-07 14:05:23 -04:00
initializers DEV: resets page tracking state between tests (#7847) 2019-07-03 10:08:05 +02:00
lib FIX: ensures routing with hash doesn't stuck history (#7872) 2019-07-10 20:43:03 +02:00
mixins FIX: mark topics in sub categories as unread when dismissing parent 2019-06-27 13:26:48 +10:00
models SECURITY: XSS with title selector on preferences page 2019-07-09 15:49:24 -04:00
pre-initializers DEV: s/this._super()/this._super(...arguments) (#6908) 2019-01-19 10:05:51 +01:00
raw-views DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
routes FIX: Back button would go to previous topic instead of list 2019-07-05 15:53:14 -04:00
services FIX: correct translations for logs error rate notice (#7622) 2019-05-28 22:10:51 +03:00
templates UX: update placeholder for Tags Groups 2019-07-11 12:34:11 +05:30
widgets Hide empty anchor tag from screen readers 2019-07-10 22:39:25 -04:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00