Skip to content

focus event ignores additional data when triggered #1741

@mgol

Description

@mgol

Originally reported by mail@… at: http://bugs.jquery.com/ticket/13428

 http://fiddle.jshell.net/rvX5Y/4/

$('input').on('focus', function(event, extra, data) {
    console.log(extra, data);
});
$('input').trigger('focus', ['extra', 'data']);

Works in version 1.8.3.

Does not work in version 1.9.0 and 1.9.1.

Expected behavior: Console shows "extra data"

False Behavior: Console shows "undefined undefined"

Browser: Firefox 18, OS: OS X 10.8.2

Issue reported for jQuery 1.9.1

Blocked by: #13353

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions