Issue Bug Closed

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

Frank Nägler 10/24/16, 16:01 updated 10/17/17, 23:24

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

Reviews 1