diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index 2ad05d29f..0eba46735 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -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();