chg: [element:generic_index] Usage of additional status node for context filtering
parent
0ff8655fb3
commit
9873561ac5
|
@ -49,14 +49,13 @@
|
|||
|
||||
<script>
|
||||
function changeIndexContext(clicked, url, container, statusNode) {
|
||||
const loadingOverlay = new OverlayFactory(clicked, {
|
||||
spinnerVariant: 'dark',
|
||||
spinnerType: 'grow',
|
||||
spinnerSmall: true
|
||||
});
|
||||
loadingOverlay.show()
|
||||
UI.reload(url, container, statusNode).finally(() => {
|
||||
loadingOverlay.hide()
|
||||
})
|
||||
UI.reload(url, container, statusNode, [{
|
||||
node: clicked,
|
||||
config: {
|
||||
spinnerVariant: 'dark',
|
||||
spinnerType: 'grow',
|
||||
spinnerSmall: true
|
||||
}
|
||||
}])
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue