Skip to content

Commit

Permalink
Revert "Update tinymce options merging to match fix in p.a.widgets an…
Browse files Browse the repository at this point in the history
…d p.a.z3cform"

This reverts commit c7aa528.
  • Loading branch information
alecpm committed Feb 19, 2016
1 parent c7aa528 commit 0992e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Products/Archetypes/Widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1396,10 +1396,10 @@ def _base_args(self, context, field, request):
).decode('utf-8')

args.setdefault('pattern_options', {})
options = base_widgets.dict_merge(
merged = base_widgets.dict_merge(
utils.get_tinymce_options(context, field, request),
args['pattern_options'])
args['pattern_options'] = options
args['pattern_options'] = merged['pattern_options']
return args

def edit(self, context, field, request):
Expand Down

0 comments on commit 0992e2c

Please sign in to comment.