Search and Top Navigation
#7835 closed bug (fixed)
Opened November 05, 2011 08:02AM UTC
Closed November 07, 2011 01:39PM UTC
Last modified November 07, 2011 01:39PM UTC
Undefined property when creating widgets
Reported by: | Dennis | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | git |
Component: | ui.widget | Version: | git (not yet released) |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Version: "1.9pre Live from Git Sat Nov 5 07:30:03 UTC 2011"
There is an error '''"Uncaught TypeError: Cannot read property 'defaultView' of undefined"''' when initialize a widget with $(document).widgetName() or $(window).widgetName().
I think it's because of the fix for ticket #7803.
Here you can find an example:
Widget: Define this.document properly when instantiating a widget on a document or window. Fixes #7835 - Undefined property when creating widgets.
Changeset: 8fd6101c3c330be347b50f4e659161d739513162