chg: [element:generic_index] Usage of additional status node for context filtering

pull/37/head
mokaddem 2021-01-15 12:15:36 +01:00
parent 0ff8655fb3
commit 9873561ac5
1 changed files with 8 additions and 9 deletions

View File

@ -49,14 +49,13 @@
<script>
function changeIndexContext(clicked, url, container, statusNode) {
const loadingOverlay = new OverlayFactory(clicked, {
UI.reload(url, container, statusNode, [{
node: clicked,
config: {
spinnerVariant: 'dark',
spinnerType: 'grow',
spinnerSmall: true
});
loadingOverlay.show()
UI.reload(url, container, statusNode).finally(() => {
loadingOverlay.hide()
})
}
}])
}
</script>