Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#765 closed defect (fixed)

scope bug or typo in Toolbar

Reported by: dylan Owned by: alex
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

Line 921 of widget/Toolbar.js, where is nullArgs defined?

dojo.widget.Icon.make = function(a,b,c,d) {
	for(var i = 0; i < arguments.length; i++) {
		if(arguments[i] instanceof dojo.widget.Icon) {
			return arguments[i];
		} else if(!arguments[i]) {
			nullArgs++;
		}
	}

	return new dojo.widget.Icon(a,b,c,d);
}

Change History (2)

comment:1 Changed 13 years ago by alex

Resolution: fixed
Status: newclosed

Appears it wasn't even being used. Fixed in [4139]

comment:2 Changed 12 years ago by (none)

Milestone: 0.3.1

Milestone 0.3.1 deleted

Note: See TracTickets for help on using tickets.