Loris
Loris copied to clipboard
[Media module] Incorrect message displayed upon editing media file metadata
Describe the bug
- On the Media module, Upon clicking 'Update File', the swal diplays 'Upload successful' which could be very confusing to a user.
To Reproduce Steps to reproduce the behavior (attach screenshots if applicable):
- Edit a file on the Media module
What did you expect to happen?
- After clicking the 'Update File' submit button, the 'Edit' window should auto-close. Upon a successful submission, the following should occur:
- Close the editing window
- Display the swal instead
- Closing the swal should redirect to the table directly
Related to:
- https://github.com/aces/Loris/issues/5079