Threaded View
-
23 Jan 2013 1:03 PM #1
javascript file loaded twice when using Ext.Loader.loadScript()
javascript file loaded twice when using Ext.Loader.loadScript()
I am using Ext.Loader.loadScript() to load scripts that may only be used occasionally in an application, However after it is loaded and EXT.create() is call on the class that has been loaded. the file is loaded again by create();
from loadScript():
Code:Request URL: http://localhost:55061/browser-app-2/apps/site/view/Site.js?_dc=1358898625584
from create():
I would have thought that create would have Known that the file has allready been loaded?Code:Request URL: http://localhost:55061/browser-app-2/apps/site/view/Site.js?_dc=1358898625608
You found a bug! We've classified it as
EXTJSIV-8296
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote