Skip to content

Commit

Permalink
Merge pull request #268 from dotkernel/issue-241
Browse files Browse the repository at this point in the history
Hide modal messages fix
  • Loading branch information
arhimede authored Jul 26, 2024
2 parents a1bb87d + 4a8e165 commit 3600458
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/App/assets/js/components/_admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ $(document).ready(() => {
});
});

adminDeleteModal.on('show.bs.modal', 'hidden.bs.modal', function () {
adminDeleteModal.on('show.bs.modal', function () {
adminDeleteModal.find('#confirmation').prop('checked', false);
adminDeleteModal.find('.modal-messages').html('');
});
});

0 comments on commit 3600458

Please sign in to comment.