Skip to main content

Search and Top Navigation

#4366 closed enhancement (fixed)

Opened March 19, 2009 02:41AM UTC

Closed March 28, 2009 12:06AM UTC

Last modified February 06, 2010 10:45PM UTC

Deep copy options on init

Reported by: scottgonzalez Owned by: scottgonzalez
Priority: minor Milestone: 1.8
Component: ui.core Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

The widget factory should deep copy options on init.

See jquery-ui-dev thread.

Attachments (0)
Change History (3)

Changed March 28, 2009 12:05AM UTC by scottgonzalez comment:1

owner: → scott.gonzalez
status: newassigned

Changed March 28, 2009 12:06AM UTC by scottgonzalez comment:2

resolution: → fixed
status: assignedclosed

Fixed in r2392.

Changed February 06, 2010 10:45PM UTC by thetoolman comment:3

The workaround for compatibility with earlier UI releases is this oneliner in your init function:

this.options = $.extend(true, {}, this.options); //deep copy