Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.4.1
-
None
-
None
Description
Confirm mixin launches dialog before appends it to body.
If $dialog.appendTo($("body")); happens before $dialog.modal().on("hidden.bs.modal", function()
); then it was able to catch show.bs.modal.
This is useful if we want to style buttons in dialog as I do, like prepend a glyphicon before button label. I can catch shown.bs.modal but we can see the icon appearing after the dialog is made visible.