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
Ghassan Maslamani 84b0a6414d
FIX: double selecting replies (#17086)
When selecting a post and its replies using the "select +replies" button, the action would push all ids, without checking if some were already selected. 

This change add a filter to remove ids that are already selected.

This fixes https://meta.discourse.org/t/selecting-posts-replies-miscounts-the-number-of-posts/229242

Co-authored-by: @ZogStriP
2022-06-17 18:32:57 +02:00
..
app FIX: double selecting replies (#17086) 2022-06-17 18:32:57 +02:00
config FIX: Add safari 12 to ember-cli build targets in production (#16745) 2022-05-13 10:08:59 +01:00
lib DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
public/assets/scripts DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
tests FIX: double selecting replies (#17086) 2022-06-17 18:32:57 +02:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
package.json DEV: Make wizard an ember addon (#17027) 2022-06-17 14:50:21 +02:00
testem.js DEV: Ensure ember-cli rake theme:qunit works with CSP enabled (#16541) 2022-04-22 16:59:45 +01:00