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
Penar Musaraj 343037b022
FIX: Bug with permanent delete modal (#18825)
Repro steps:
- enable permanent deletes (via hidden site setting)
- set `min_topic_views_for_delete_confirm` to 0

When permanently deleting, the delete confirm modal is shown (for a
second time) and it doesn't pass the `force_destroy` parameter to the
request and the action results in a 422 error (i.e. can't perma-delete).

This change skips showing the confirm modal when perma-deleting given
that it has already been show on the first delete action.
2022-11-04 14:49:19 -04:00
..
app FIX: Bug with permanent delete modal (#18825) 2022-11-04 14:49:19 -04:00
config DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
lib DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
public/assets/scripts DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
scripts DEV: Compile splash screen JS with ember-cli before inlining (#18150) 2022-09-01 09:58:48 +01:00
tests FIX: Bug with permanent delete modal (#18825) 2022-11-04 14:49:19 -04: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: Use npm for forked backburner.js version (#18559) 2022-10-12 11:14:41 +01:00
jsconfig.json DEV: Add jsconfig (#17800) 2022-08-04 22:50:47 +01:00
package.json Build(deps): Bump ember-source in /app/assets/javascripts (#18859) 2022-11-03 11:36:08 +00:00
testem.js DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00