Ticket #8254 (closed bug: fixed)

Opened 3 years ago

Last modified 2 years ago

Position module throws uncaught exception on IE8 with jQuery 1.3.2

Reported by: SeanMcMillan Owned by:
Priority: minor Milestone: 1.8.21
Component: ui.position Version: 1.8.18
Keywords: Cc:
Blocking: Blocked by:

Description

 http://jsbin.com/elufiv

In the "position" module, the test for fraction support calls $(div).offset() with a function parameter. This only works on jQuery 1.4+. The end result of this is that on jQuery 1.3.2, the "top" css property ends up being set to 'NaNpx'. Sensible browsers ignore this, but IE8 throws an exception.

Change History

comment:1 Changed 2 years ago by Scott González

  • Status changed from new to closed
  • Resolution set to fixed

Position: Patch .offset( fn ) setter for jQuery 1.3.2. Fixes #8254 - Position module throws uncaught exception on IE8 with jQuery 1.3.2.

Changeset: 3cf2b7c45facd0e01edbaeec74082382f1da1499

comment:2 Changed 2 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.21
Note: See TracTickets for help on using tickets.