Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-5520
in
a recent build.
-
Touch Premium Member
[4.1rc1] Ext.widget reports config is undefined
REQUIRED INFORMATION
Ext version tested:
- Ext 4.1-rc1 (nightly build 2012-03-03)
Browser versions tested against:
DOCTYPE tested against:
Description:
- It seems that there ist a problem with Ext.widget functionality. If you try to get an instance of a widget, you get a "config is undefined" JS error.
Steps to reproduce the problem:
Get an instance of a User defined widget (e.g. User window).
Test Case:
If I call
Code:
var myWindow = Ext.widget('userkontrolleupload')
without config, a script error appears saying config is undefined.
If I call
Code:
var myWindow = Ext.widget('userkontrolleupload', {})
no script error appears. Everything ok.
-
Yeah, it needs a simple check.