Skip to main content

Bug Tracker

Side navigation

#1401 closed bug (invalid)

Opened July 16, 2007 06:14AM UTC

Closed July 20, 2007 03:33PM UTC

.bind() doesnt pass data objects

Reported by: DD32 Owned by:
Priority: major Milestone: 1.1.4
Component: event Version: 1.1.3
Keywords: bind Cc: DD32
Blocked by: Blocking:

As of 1.1.3 bind() no longer passes additional data to the function as

Test case:


$('a#test').bind('click', {foo: "bar"}, function(){ 
				if( == undefined ) { 
					alert("Event data Undefined"); 
				} else { 
					alert(""  +;

1.1.3 will take the event data undefined route, 1.1.2 will take the route as expected.

Attachments (0)
Change History (2)

Changed July 17, 2007 03:27AM UTC by DD32 comment:1

Mark as bogus; or regression.

Seems function(){} is fine for <1.1.3, however 1.1.3 requires function(event){}


Changed July 20, 2007 03:33PM UTC by john comment:2

resolution: → invalid
status: newclosed