Opened 14 years ago

Closed 14 years ago

#225 closed defect (fixed)

Invalid DOM node reference in Dropdown Button

Reported by: Josh Reed (jareed@… Owned by: anonymous
Priority: high Milestone:
Component: Widgets Version: 0.1
Keywords: Cc:
Blocked By: Blocking:

Description

The Dropdown Button widget contains an invalid DOM node reference in the onMouseOver and onMouseOut functions:

	onMouseOver: function(e) {
		dojo.html.addClass(this.dropdownButton, "dojoButtonHover");
		dojo.html.removeClass(this.dropdownButton, "dojoButtonNoHover");
	},
	
	onMouseOut: function(e) {
		dojo.html.removeClass(this.dropdownButton, "dojoButtonHover");
		dojo.html.addClass(this.dropdownButton, "dojoButtonNoHover");
	},

this.dropdownButton should be this.button, I believe.

The relevant file: src/widget/html/DropdownButton.js

http://archive.dojotoolkit.org/dojo-2005-11-30/src/widget/html/DropdownButton.js

Change History (1)

comment:1 Changed 14 years ago by bill

Resolution: fixed
Status: newclosed

fixed as of rev2296

Note: See TracTickets for help on using tickets.