From 329f54cc966c2b40dcc3ea60ffc095dbd5c03fb5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 23 Sep 2019 08:50:34 +0200 Subject: [PATCH] ui.js: Don't generate a container id if its parent is #col1 refs #3953 --- public/js/icinga/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/icinga/ui.js b/public/js/icinga/ui.js index f5d8a4800..947473b49 100644 --- a/public/js/icinga/ui.js +++ b/public/js/icinga/ui.js @@ -681,7 +681,7 @@ * This is based on the assumption that the server only knows about the menu and first column * and therefore does not need to protect its ids. (As the menu is most likely part of the sidebar) */ - if ($cont.attr('id') === 'menu' || $cont.attr('id') === 'col1') { + if ($cont.attr('id') === 'menu' || $cont.attr('id') === 'col1' || $cont.closest('#col1').length) { return null; }