Skip to content

pat-tooltip - close-button does not work with source: ajax #356

@reinhardt

Description

@reinhardt

When giving a pat-tooltip both "source: ajax" and "clsoing: close-button" and including a <button class="close-panel> in the source that is loaded via ajax, said button does not do anything. An example is the "Create event" tooltip in the star prototype:

http://p3.prototype.star.syslab.com/calendar.html

In the debugger I see that when setupHideEvents is called the ajax content is not yet loaded, so the button is not found.

Note that the example uses the slc branch of Patterns, but the relevant lines in the code seem to be the same as in master.
I found issue #12 has a similar topic, but I think this is a different issue.

Metadata

Metadata

Assignees

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