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

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

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:
      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

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

              Dates

              • Created:
                Updated: