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