Project

General

Profile

Actions

Bug #78396

closed

Popover.setOptions remove content / title if only one of the two options is used

Added by Frank Nägler about 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2016-10-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
On Location Sprint

Description

In case Popover.setOptions is called with only one of the both possible options, the other option is set to an empty string.

e.g.

Popover.setOptions($element, {
    'title': 'bar-title'
});

after this call, the content is set to an empty string, because of a wrong default handling in Popover.js

Actions

Also available in: Atom PDF