mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
loader.js: Empty nested containers upon __CLOSE__
This commit is contained in:
parent
4b6df1bef9
commit
88caf3c141
@ -550,6 +550,12 @@
|
||||
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
|
||||
icinga.ui.layout1col();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user