Side navigation
#1171 closed bug (fixed)
Opened May 11, 2007 05:32PM UTC
Closed May 11, 2007 09:40PM UTC
Last modified June 21, 2007 04:19AM UTC
Bug in event-handling code
Reported by: | IGx89 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | event | Version: | 1.1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
// Calculate pageX/Y if missing and clientX/Y available if ( event.pageX == undefined && event.clientX != undefined ) { var e = document.documentElement, b = document.body; event.pageX = event.clientX + (e.scrollLeft || b.scrollLeft); event.pageY = event.clientY + (e.scrollTop || b.scrollTop); }
If documentElement exists (instead of body) and it's scrollLeft is 0, it will try to access the scrollLeft value of b (which is null) and throw an error.
Finder: Jack Slocum, Ext JS development team
Attachments (0)
Change History (1)
Changed May 11, 2007 09:40PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in Rev [1886].