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
jbrw a8c63ddb54
FIX: Call _clearFlash() when displaying a modal (#14848)
`d-modal-body.js` was setting the text of a `modal-alert` element to `""`, but not removing any classes on that element. Changing this to call `_clearFlash()` ensures that a variety of styling classes are also removed from the element, which prevents empty alert elements being included on any subsequent modals that are displayed.

Several other controllers have also been modified to change the class of the error from `alert-error` to `error. The `alert-` is unnecessary, as it is added by `_flash(msg)` within `d-modal-body.js`.
2021-11-09 17:51:50 -05:00
..
app FIX: Call _clearFlash() when displaying a modal (#14848) 2021-11-09 17:51:50 -05:00
config FIX: ember-cli proxy subfolder fix (#12996) 2021-05-10 10:02:33 -07:00
lib FIX: Ember CLI was always loading the admin payload in dev mode 2021-10-05 08:34:10 -04:00
public/assets/scripts FIX: Don't try to boot the ember app on old browsers (#14423) 2021-09-22 16:54:57 -03:00
tests FIX: Show perma-delete in menu without refresh (#14740) 2021-11-09 11:50:45 +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: Add caret_position.js to ember-cli build (#14009) 2021-08-11 16:42:04 +01:00
package.json DEV: Bump uppy module versions for retryable prepareUploadParts (#14629) 2021-10-18 15:28:27 +10:00
testem.js DEV: Use double quotes for js-flags (#14693) 2021-10-27 11:09:30 +11:00