When first rendered via a call to setupUI the alerts HTML looks like:

<div data-container-type="alerts">
  <div class="well">
    <div data-container-type="inner">
      ... alerts ...
    </div>
  </div>
</div>

After a call to dismissAll() the HTML looks like:

<div data-container-type="alerts">
</div>

With the inner container nowhere to be found. So when an attempt is
next made to show an alert after an ajax call:

(t5/core/alert.coffee)

    alert = (data) ->
      container = findInnerContainer()
      return unless container
      ...

Eeek! No container! So alert() just exits.

Should I raise a JIRA?

While someone is on the alert.coffee code, could you add a "warn"
class to the severityToClass object... pretty please!

Steve.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to