Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#4366 closed enhancement (fixed)

Deep copy options on init

Reported by: Scott González Owned by: Scott González
Priority: minor Milestone: 1.8
Component: ui.core Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

Description

The widget factory should deep copy options on init.

See jquery-ui-dev thread.

Change History (3)

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

Owner: set to scott.gonzalez
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Fixed in r2392.

comment:3 Changed 13 years ago by thetoolman

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

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

Note: See TracTickets for help on using tickets.