Hi Guys,
I am unable to fully load the index.js
content in the Studio panel. A screenshot is attached.
Hi Guys,
I am unable to fully load the index.js
content in the Studio panel. A screenshot is attached.
Can you provide more information about your issue Like in which studio page this is not loading? What are the error logs from the server side and browser side?
It will help to figure out your issue.
hi @Mahendra
The issue is not with the server but mostly with the browser. In Studio, the custom button isn’t working because I think the JavaScript isn’t loading. However, the custom button works when using the browser console. The popup opens after clicking the button through the console, but the button itself can’t be clicked directly.
like this is working but through console
document.getElementById(“XXXXXXXX”).style.display = “block”;
The Theme Studio static folder isn’t mapping with the static files, so we need to apply our changes to the following file path:
edx-platform/cms/static/js/index.js
Then, run the collectstatic
command again and verify everything works correctly.