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/unit
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
..
controllers FIX: Bug with permanent delete modal (#18825) 2022-11-04 14:49:19 -04:00
ember DEV: Remove all use of Ember/jQuery globals in core (#18670) 2022-10-19 17:04:49 +01:00
lib DEV: Make modifyClass native class-aware, add tests (#16111) 2022-11-03 18:10:08 +01:00
mixins DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
models UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
routes DEV: Add tests for review-index route (#18415) 2022-10-05 12:39:35 +08:00
services DEV: Await for all async MessageBus callbacks (#17966) 2022-08-17 12:44:48 +02:00
utils DEV: Introduce a @debounce(delay) decorator (#18667) 2022-10-19 20:43:58 +02:00
localization-test.js FIX: Overriding text with admin_js.* keys didn't work (#18281) 2022-09-20 10:47:57 +10:00