Skip to content

Commit 3600458

Browse files
authored
Merge pull request #268 from dotkernel/issue-241
Hide modal messages fix
2 parents a1bb87d + 4a8e165 commit 3600458

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

public/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App/assets/js/components/_admin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ $(document).ready(() => {
113113
});
114114
});
115115

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

0 commit comments

Comments
 (0)