Hello,
I am trying to use the panel bar together with the DotNetNuke 4.9, having module caching enabled for the module that contains the PanelBar.
DotNetNuke caches the content of the module (html generated by the module) in a file system, however the PanelBar also adds javascript like
Sys.Application.add_init(function() { ... }
to the bottom of the page.
Since the javascript is outside of the module content, it does not get cached in a DotNetNuke file and when DNN renders the module from the cache, Javascript is omitted, breaking the functionality.
Is there a way to include the javascript inside of the moduel instead of having it in the end of the page?
Thanks
I am trying to use the panel bar together with the DotNetNuke 4.9, having module caching enabled for the module that contains the PanelBar.
DotNetNuke caches the content of the module (html generated by the module) in a file system, however the PanelBar also adds javascript like
Sys.Application.add_init(function() { ... }
to the bottom of the page.
Since the javascript is outside of the module content, it does not get cached in a DotNetNuke file and when DNN renders the module from the cache, Javascript is omitted, breaking the functionality.
Is there a way to include the javascript inside of the moduel instead of having it in the end of the page?
Thanks