REQUIRED INFORMATION


Ext version tested:
  • Ext 4.1-rc1 (nightly build 2012-03-03)
Browser versions tested against:
  • IE7/9
  • FF10.0.2
DOCTYPE tested against:
  • <!DOCTYPE html>
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.