Skip to content
This repository was archived by the owner on Dec 17, 2019. It is now read-only.
This repository was archived by the owner on Dec 17, 2019. It is now read-only.

Title option should override title attribute #35

@atxulo

Description

@atxulo

When the object that fires the confirmation popup has a 'title' attribute, it's shown instead of the title option used to open popConfirm.

For example, this button

<button class="btn btn-success popconfirm_full" data-toggle='confirmation' id="important_action" title="Default title">Full featured</button>

And this function:

$("[data-toggle='confirmation']").popConfirm({ title: "Really ?", content: "I have warned you !", placement: "bottom" // (top, right, bottom, left) });

Shoud show a confirmation box with "Really?" as the title, but it shows "Default title"

Demo: http://jsfiddle.net/ereth7y8/1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions