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/tests
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
..
acceptance UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
addons/truth-helpers/integration/helpers DEV: adds includes helper to templates (#18259) 2022-09-15 14:20:37 +02:00
fixtures FIX: Clientside checks for personal_message_enabled_groups (#18691) 2022-10-21 14:38:33 +10:00
helpers DEV: Avoid cloning site settings in QUnit tests (#18811) 2022-11-02 20:07:17 +09:00
integration DEV: Use store.createRecord for Topic models (#18837) 2022-11-03 12:32:20 +01:00
unit FIX: Bug with permanent delete modal (#18825) 2022-11-04 14:49:19 -04:00
index.html DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
setup-tests.js DEV: Avoid cloning site settings in QUnit tests (#18811) 2022-11-02 20:07:17 +09:00
test-boot-ember-cli.js DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00