Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7458 closed bug (fixed)

ui.position offset property creates error when set to undefined

Reported by: tashekelahi Owned by:
Priority: minor Milestone: git
Component: ui.position Version: git (not yet released)
Keywords: Cc:
Blocked by: Blocking:

Description

When using older plugins with UI 1.9+, the deprecated ui.position function checks for "offset" property in "options". But there is no check whether offset is set to "undefined". This causes error and stops older plugins to function.

UI Version: 1.9pre File: jquery.ui.position Line: 273 Error message: options.offset is undefined

Possible fix: apply check for undefined at line #270

Change History (3)

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

Version: 1.8.13git

comment:2 Changed 12 years ago by tashekelahi

Resolution: fixed
Status: newclosed

Position: added check for undefined value of offset. Fixed #7458 - ui.position offset property creates error when set to undefined

Changeset: 19dcac2129a2b39a24989835c1c732fa630bdefd

comment:3 Changed 12 years ago by Scott González

Milestone: 1.9git
Note: See TracTickets for help on using tickets.