-
Notifications
You must be signed in to change notification settings - Fork 14
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
subTheme "esdc" - wb-auto duplicate ids #1080
Comments
Hello, can you paste the page source code here? On my end, I don't see the error when just using the "subTheme": "esdc". Here is our sample page: https://cdts.service.canada.ca/app/cls/WET/gcintranet/v5_0_0/cdts/samples/subtheme-en.html |
We use C# to configure the different CDTS options but this is what is rendered on the html page:
|
I used your configuration and the page loads without any error. Can you send me the HTML code (View Page Source)? Or you can check on your end where wb-auto-26, wb-auto-27 and wb-auto-28 appear multiple times. |
I've noticed that this happens in Edge and Chrome but not in Firefox. Also, it seems this may have an incidence on the exit script. In Edge and Chrome, the exit script is not initialized on all links in the main menu (wb-sm). |
I'm guessing you have a WET component on the page that isn't being initialized properly (those wb ids come from WET). I can't say much because I'm unable to reproduce the error on any browser. If you could send the page source code (right click + View Page Source), I'd be able to run the page on my end and check further. |
When using "subTheme": "esdc", we are getting error :
IDs of active elements must be unique: Document has active elements with the same id attribute: wb-auto-26
IDs of active elements must be unique: Document has active elements with the same id attribute: wb-auto-27
IDs of active elements must be unique: Document has active elements with the same id attribute: wb-auto-28
Happens in "About government" menu
I think this causes the exitscript to stop initializing when using this subTheme
The text was updated successfully, but these errors were encountered: