-
5 Mar 2012 5:10 AM #1
[4.1rc1] Ext.widget reports config is undefined
[4.1rc1] Ext.widget reports config is undefined
REQUIRED INFORMATION
Ext version tested:- Ext 4.1-rc1 (nightly build 2012-03-03)
- IE7/9
- FF10.0.2
- <!DOCTYPE html>
- 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.
Get an instance of a User defined widget (e.g. User window).
Test Case:
If I call
without config, a script error appears saying config is undefined.Code:var myWindow = Ext.widget('userkontrolleupload')
If I call
no script error appears. Everything ok.Code:var myWindow = Ext.widget('userkontrolleupload', {})
-
5 Mar 2012 8:17 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
Yeah, it needs a simple check.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-5520
in
4.1.


Reply With Quote