From: Alan Knowles Date: Thu, 10 Jun 2021 08:08:04 +0000 (+0800) Subject: changes to menu X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=37528e2dbba25db3cd2bdb8442205d5d16842635 changes to menu --- diff --git a/docs/src/Roo_bootstrap_Menu.js.html b/docs/src/Roo_bootstrap_Menu.js.html index 4d1dfeb911..225884dca1 100644 --- a/docs/src/Roo_bootstrap_Menu.js.html +++ b/docs/src/Roo_bootstrap_Menu.js.html @@ -23,6 +23,13 @@ Roo.bootstrap.Menu = function(config){ + + if (config.type == 'treeview') { + // normally menu's are drawn attached to the document to handle layering etc.. + // however treeview (used by the docs menu is drawn into the parent element) + this.container_method = 'getChildContainer'; + } + Roo.bootstrap.Menu.superclass.constructor.call(this, config); if (this.registerMenu && this.type != 'treeview') { Roo.bootstrap.MenuMgr.register(this);