ui.js: Don't generate a container id if its parent is #col1

refs #3953
This commit is contained in:
Johannes Meyer 2019-09-23 08:50:34 +02:00
parent b15c012671
commit 329f54cc96
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}