Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OTHER] Contextual menus replacing Mega Menu - Uncaught TypeError: subElm is null #9556

Open
olstjos opened this issue Mar 21, 2023 · 2 comments

Comments

@olstjos
Copy link

olstjos commented Mar 21, 2023

When is the Mega Menu going to go away? and How?

We've tested removing the "Mega Menu" using wet-boew 4.0.50.1 gcweb theme v10.5.5, this results in an 'subElm' exception on theme-gcweb/js/theme.js ,

Uncaught TypeError: subElm is null
    onAjaxLoaded http://localhost/libraries/theme-gcweb/js/theme.js?rrugy6:4986
    init http://localhost/libraries/theme-gcweb/js/theme.js?rrugy6:4969
    jQuery 7
    ready https://localhost/libraries/wet-boew/js/wet-boew.js?rrugy6:1949

crashes the Share this page widget. We've noticed that the AEM canada.ca root domain site has already added the gc contextual footers live, however has not yet removed the mega menu, are there plans to remove this? Is there a patch to wet-boew that we can use to allow the removal of the Mega Menu without a subElm javascript exception?

@olstjos
Copy link
Author

olstjos commented Mar 21, 2023

This issue is linked from https://www.drupal.org/project/wxt/issues/3349358

@wewhite
Copy link
Contributor

wewhite commented Mar 21, 2023

This isn't a WET-BOEW issue. Should be moved to GCWeb, as this is specific to GCWeb theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants