ExtJS 4.2 - Possible causes of a “Sychronous XMLHttpRequest” warning?

后端 未结 2 1653
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-22 04:09

Good day, sorry for the seemingly broad question title.

I am building an ExtJS4 application using php and sql for the user data. Everything was going fine until one

2条回答
  •  心在旅途
    2020-12-22 04:28

    I had this error a while a ago. It is caused by Ext.Loader which loads the Ext classes dynamically.

    I could solve it by adding the required classes in the Ext.require([...]) statement in the main js file of my application (i.e. app.js).

    The docs for Ext.Loader explain when and why asynchronous and synchronous loading happens.

提交回复
热议问题