Unable to add Custom HTML using admin/editcustomhtml.action

This seem to work in our current 3.5 version in production; I am working on the upgrade to 5.2.5. I am trying to insert the following javascript to test this; the form submits on clicking Save, but the resulting HTML (checking using show source) is missing this scriptlet. I tried "At end of the HEAD" and "At beginning of the BODY" options. <script type="text/javascript" src="includes/js/code.js"> AJS.$("#sidebar").sidebar({ id: "localstorageidstring", minWidth: function () { return 200 } , maxWidth: function () { return jQuery(window).width() - 500; } }); </script>

1 answer

This widget could not be displayed.

I was trying Adaptiva ThemeBuilder Engine for this particular space where it was NOT working; it is now working when I switched back to Global Look and Feel theme.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

468 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you