Developer Support: when willl remove menu.domNode


page 1 of 1


toggle post quote post Post #220 by kentin 1 year, 8 months ago

in apps.js file line 79,code is document.body.appendChild(menu.domNode); but I can't found where remove this node.



toggle post quote post Post #221 by psychcf 1 year, 8 months ago

Hi,

I'm not sure what you're trying to do, if you give more information I may be able to help.

Thanks!



toggle post quote post Post #222 by kentin 1 year, 8 months ago

In desktopdojotoolkitlucidappsAdminPanelapps.js file, line 79,script have add menu.domNode to document body,but I can't found when and where remove this node,otherwise the document will more and more menu node.

thanks!



toggle post quote post Post #223 by psychcf 1 year, 8 months ago

Oh, I get you. It can be removed in the app's kill function. The menu is also in this._appMenu, so in kill(), just add this._appMenu.destroy();

Does that make sense?



page 1 of 1


You need to sign in to post messages.

You are not logged in. You must log in or create an account to contribute to discussions.


This community is powered by Snapboard