diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index d88e5adcc..11954a251 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -599,7 +599,10 @@ } var origFocus = document.activeElement; - var $content = $(content); + + // TODO: We do not want to wrap this twice... + var $content = $('
' + content + '
'); + if (false && $('.dashboard', $content).length > 0 && $('.dashboard', $container).length === 0