Not sure. After dismissing the first message, look at the DOM and see if
the #alertContainer div is still there.

On Mon, Apr 1, 2013 at 9:24 AM, Kim Miller <notifications@github.com> wrote:

> In app/views/shared/_hubModal.html.haml:
>
> >    .modal-header
> >      .pull-right= link_to raw('&times;'), '#', class: 'close', data: {dismiss: 'modal'}
> >      %h3 Create a new Group
> > +    .container(ng-class="alertclass")
>
> Makes some sense, but removing "%a.close(data-dismiss="alert") &#215;"
> entirely has no effect. One does need to hit the "x" to dismiss the error
> either. Rather one can just click anywhere. Is there something hidden
> that's doing that, jquery maybe? I see this code in site.js: ''''
> app.createAlert = function (msg, style) { $('#alertContainer').before('<div
> class="alert alert-' + style + '"><a href="#" class="close"
> data-dismiss="alert">&times;</a>' + msg + '</div>'); } app.createModalAlert
> = function (msg, style, modalElem) { $(modalElem).find('.modal-body
> div').first().prepend('<div class="alert alert-' + style + '"><a href="#"
> class="close" data-dismiss="alert">&times;</a>' + msg + '</div>'); } ''''
> But commenting that out does not seem change anything either. /k
> … <#13dc66a61d041a4a_>
> On Apr 1, 2013, at 7:27 AM, Bill Lazar wrote: In
> app/views/shared/_hubModal.html.haml: > .modal-header > .pull-right=
> link_to raw('&times;'), '#', class: 'close', data: {dismiss: 'modal'} > %h3
> Create a new Group > + .container(ng-class="alertclass") When you dismiss
> the first error, I think the container is removed from the DOM and so it
> isn't present for subsequent uses. … — Reply to this email directly or view
> it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/railsforcharity/spokenvote/pull/158/files#r3603172>
> .
>