Ticket #7115 (closed defect: fixed)
this vs. self mismatch in DropDownButton's popup onClose args
| Reported by: | humbletim | Owned by: | bill |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Dijit | Version: | 1.1.1 |
| Severity: | normal | Keywords: | dijit.form.Button dijit.form.DropDownButton |
| Cc: | tdedischew@… |
Description
in dijit/form/Button.js @ _openDropdown:249
onCancel: function(){
self._closeDropDown(true);
},
onClose: function(){
dropDown.domNode.style.width = oldWidth;
self.popupStateNode.removeAttribute("popupActive");
this._opened = false;
}
this._opened = false; should be self._opened = false;
Change History
Note: See
TracTickets for help on using
tickets.