Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 83883

Re: LMS Error: Synchronous XMLHttpRequest on the main thread is deprecated... because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/

$
0
0

I think your issue is because Captivate uses LazyLoader to load Script files in the following function in the index.html:

 

var lJSFiles = [  'assets/js/jquery-1.6.1.min.js','assets/js/OpenAjaxManagedHub-all.js','assets/js/CPM.js' ];

      cpXHRJSLoader.js(lJSFiles,function()

      {

       //console.log("js loaded");

       lJSLoaded = true;

       constructDIVs();

      });

 

This ensures that the CPM.js is loaded before the constructDIVs function is called. I don't think a SCORM version is going to solve the issue.

 

Your course content is in the CPM.js which is then loaded into DIVs created with the contructDIVs function. The whole index page would need to be re-written to get rid of the cpXHRJSLoader.js.

.


Viewing all articles
Browse latest Browse all 83883

Trending Articles