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

t5/core/alert module - wrong default CSS class for alert

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      If you omit the severity property from the alert data, it should use the default "alert-info" class, but uses "alert" instead.

      className = severityToClass[data.severity] or "alert"

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: