fix: [indexTable:group_search] Fixed typo in passed argument
parent
e6a1cf019d
commit
186fba395a
|
@ -107,7 +107,7 @@
|
||||||
.click(function() {
|
.click(function() {
|
||||||
const url = `/${controller}/filtering`
|
const url = `/${controller}/filtering`
|
||||||
const reloadUrl = `/${controller}/index${additionalUrlParams}`
|
const reloadUrl = `/${controller}/index${additionalUrlParams}`
|
||||||
openFilteringModal(this, url, reloadUrl, $(`#table-container-${randomValue}`));
|
openFilteringModal(this, url, reloadUrl, $(`#index-table-${randomValue}`));
|
||||||
})
|
})
|
||||||
|
|
||||||
function doFilter($button) {
|
function doFilter($button) {
|
||||||
|
@ -151,7 +151,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function openFilteringModal(clicked, url, reloadUrl, tableId) {
|
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>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue