#10650 closed defect (fixed)
Missing 'this' when dijit.form.Button's loadDropDown connects to dropDown's onLoad method
Reported by: | Sam Foster | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.4.1 |
Component: | Dijit - Form | Version: | 1.4.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
var handler = dojo.connect(dropDown, "onLoad", function(){ dojo.disconnect(handler); this.openDropDown(); });
'this' is referenced in the function, but not set in the connect() call.
Change History (3)
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
(In [21200]) Adding 'this' to the connect in Button's loadDropDown so the function is called with the widget as context. fixes #10650