fix: [indexTable:group_search] Fixed typo in passed argument

pull/67/head
mokaddem 2021-06-30 08:33:09 +02:00
parent e6a1cf019d
commit 186fba395a
1 changed files with 3 additions and 2 deletions

View File

@ -107,7 +107,7 @@
.click(function() {
const url = `/${controller}/filtering`
const reloadUrl = `/${controller}/index${additionalUrlParams}`
openFilteringModal(this, url, reloadUrl, $(`#table-container-${randomValue}`));
openFilteringModal(this, url, reloadUrl, $(`#index-table-${randomValue}`));
})
function doFilter($button) {
@ -151,7 +151,8 @@
}
function openFilteringModal(clicked, url, reloadUrl, tableId) {
UI.overlayUntilResolve(clicked, UI.submissionModalForIndex(url, reloadUrl, tableId))
const modalPromise = UI.submissionModalForIndex(url, reloadUrl, tableId)
UI.overlayUntilResolve(clicked, modalPromise)
}
});
</script>