Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Fixing wrong event identifiers for prompt's modal dialog creation #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixing wrong event identifiers for prompt's modal dialog creation #15

wants to merge 1 commit into from

Conversation

alxkum
Copy link

@alxkum alxkum commented Jul 25, 2014

After creating a dialog the "shown" (to set focus) and "hidden" (to remove the dialog from dom) events are hooked for the modal dialog. However, in Bootstrap 3 the events are called "shown.bs.modal" and "hidden.bs.modal". Therefore the callbacks were never called, so neither was the focus correctly set after the dialog opened nor was the dialog's DOM elements correctly destroyed afterwards.
Changed both identifiers. Works now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant