mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
loader.js: Empty nested containers upon __CLOSE__
This commit is contained in:
parent
4b6df1bef9
commit
88caf3c141
@ -550,6 +550,12 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (req.$redirectTarget.is('.container') && req.$redirectTarget.parent().closest('.container').length > 0) {
|
||||||
|
// If it is a container that is not a top level container, we just empty it
|
||||||
|
req.$redirectTarget.empty();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// Close right column as requested
|
// Close right column as requested
|
||||||
icinga.ui.layout1col();
|
icinga.ui.layout1col();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user