Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2547

Confirm mixin prevents show.bs.modal event to be caught

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.4.1
    • None
    • tapestry-core
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rveloso Ricardo Veloso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: