Ticket #5830 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Widget: Using inheritance overwrites the base classes options

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

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

comment:1 Changed 4 years ago by scott.gonzalez

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

Fixed in  f24bc0f.

comment:2 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.3

comment:3 Changed 4 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.