Skip to content

Tooltip may be empty when using locale other than english #181

Description

@ockam

When using the french locale, the tooltip that appears over then pencil icon when hovering an editable allows show an empty tooltip.

Worked around with:

ToolTipPlugin.prototype.init = function() {
    this.raptor.bind('layoutReady', function(node) {
        $(node)
            .on('mouseover', '[title]', function(event) {
                if ($(this).attr('title')) {
                    $(this)
                        .attr('data-title', $(this).attr('title'))
                        .removeAttr('title');
                }
            });
    });
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions