Lines Matching refs:event
854 * @param {Event} event
856 webtrees.createRecordModalSubmit = function (event) {
857 event.preventDefault();
858 const form = event.target;
887 form.addEventListener('submit', function (event) {
888 event.target.querySelectorAll('textarea[data-wt-pattern]').forEach(function (element) {
892 event.preventDefault();
893 event.stopPropagation();
1014 document.addEventListener('submit', function (event) {
1015 if (event.target.method === 'POST') {
1016 if (event.target.classList.contains('form-is-submitting')) {
1017 event.preventDefault();
1019 event.target.classList.add('form-is-submitting');
1025 document.addEventListener('click', (event) => {
1026 const target = event.target.closest('a,button');
1033 event.preventDefault();
1052 event.stopPropagation();