Skip to main content

Bug Tracker

Side navigation

#4084 closed enhancement (fixed)

Opened February 06, 2009 07:59AM UTC

Closed December 07, 2009 02:28AM UTC

$(document).focus(fn)

Reported by: crucify Owned by:
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: document focus Cc:
Blocked by: Blocking:
Description

FF $(document).focus(fn)

IE $(document.body).focus(fn)

I wish unify 'document'.

thank you.

Attachments (0)
Change History (6)

Changed February 07, 2009 01:57AM UTC by dmethvin comment:1

What document type are you using?

Changed February 07, 2009 02:02AM UTC by crucify comment:2

xhtml transitional

thank you.

Changed February 07, 2009 02:55AM UTC by dmethvin comment:3

resolution: → duplicate
status: newclosed

This is a duplicate of #4040, thanks!

Changed February 10, 2009 03:30PM UTC by john comment:4

resolution: duplicate
status: closedreopened

Changed February 10, 2009 03:32PM UTC by john comment:5

component: unfilledevent

This appears to be a separate issue from #4040 - it looks like he wants to unify how the focus event needs to be bound, which is something that we can look in to.

This is similar to the problem where in order to animate the scroll of a page you need to attach to both document.documentElement and document.body.

Changed December 07, 2009 02:28AM UTC by john comment:6

milestone: 1.3.21.4
resolution: → fixed
status: reopenedclosed
version: 1.3.11.3.2

I think this has already been fixed with the introduction of the new focus/blur bubbling code in 1.4.