Fixed the ajax enhanced filtering on page with single table
const formData = new FormData(form);
const params = new URLSearchParams(formData);
- let table = document.querySelector(`[data-iommi-id=${form.getAttribute('data-iommi-id-of-table')}]`)
+ let table = document.querySelector(`[data-iommi-id="${form.getAttribute('data-iommi-id-of-table')}"]`)
const container = table.parentNode;
iommi_update_URL(params);
}
function iommi_enhance_form(form) {
- let table = document.querySelector(`[data-iommi-id=${form.getAttribute('data-iommi-id-of-table')}]`)
+ let table = document.querySelector(`[data-iommi-id="${form.getAttribute('data-iommi-id-of-table')}"]`)
const container = table.parentNode;
form.setAttribute('autocomplete', 'off');
