Skip to main content

Search and Top Navigation

#7458 closed bug (fixed)

Opened June 09, 2011 07:14AM UTC

Closed June 10, 2011 01:06AM UTC

Last modified June 10, 2011 01:06AM UTC

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

Attachments (0)
Change History (3)

Changed June 10, 2011 01:01AM UTC by scottgonzalez comment:1

version: 1.8.13git

Changed June 10, 2011 01:06AM UTC by tashekelahi comment:2

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

Changed June 10, 2011 01:06AM UTC by scottgonzalez comment:3

milestone: 1.9git