Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5830 closed bug (fixed)

Widget: Using inheritance overwrites the base classes options

Reported by: scottgonzalez Owned by:
Priority: blocker Milestone: 1.8.3
Component: ui.widget Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

If the options hash contains objects or arrays, the base plugin's options get replaced with the new plugin's options.

See forum post.

Change History (3)

comment:1 Changed 6 years ago by scottgonzalez

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

Fixed in f24bc0f.

comment:2 Changed 6 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.3

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

Widget: Deep extend options when creating a new plugin. Fixes #5830 - Widget: Using inheritance overwrites the base classes options.

Changeset: f24bc0fb1f63e7f5e38014d7191a4fe69d4179f0

Note: See TracTickets for help on using tickets.