Hi All,
We have an issue on some of our publisher where we get few scripts attached in our along with our pages which are related to Undo Manager which restricts it from rendering.
<script type="text/javascript">
(function() {
var cfg = {"enabled":true,"maxUndoSteps":20,"persistenceMode":"step","whitelist":["foundation/components/text"...... REAL LONG LIST HERE]};
cfg.pagePath = "path_to_the_page";
if (CQClientLibraryManager.channelCB() != "touch") {
cfg.enabled = true;
CQ.undo.UndoManager.initialize(cfg);
CQ.Ext.onReady(function() {
CQ.undo.UndoManager.detectCachedPage((new Date()).getTime());
});
}
})();
CQ.WCM.launchSidekick("/content/uxportal/MyUnitPages/default", {
propsDialog: "",
locked: false
});
</script>
Below is the error we get when we try to render this page:
Same page and setup works fine in some other publishers , we have already compared undo manager configurations in both publishers they are same.
We have also tried to disable(restarted pub as well) still same script is coming attached when page is being rendered.
Please suggest how can i get this script removed from pages so that they render fine.
Thanks in advance.