Most likely a bug.

The click isn't being registered on the i tag as the button is in the way.
Pesky button!

To exclude it as an Angular problem, throw some regular JS at it and see if
the problem persists.

Worth knowing.

Adrian

On 23 October 2014 20:51, Pierre Bourassa <[email protected]> wrote:

> In my View HTML, I have something like this:
>
> <button type="button" class="btn"><i class="glyphicon glyphicon-plus-sign" 
> ng-click="itemForm('New')"></i></button>
>
>
> When I click on the button, the controller function is called when running
> in Chrome and Safari, but nothing happens when I do it on Firefox, and also
> in IE on a Windows PC
>
> But changing the code to put the ng-click on the <button> instead of the
> <i> fixes it and it now works in all the browsers. Is this a bug?
>
> <button type="button" class="btn" ng-click="itemForm('New')"><i 
> class="glyphicon glyphicon-plus-sign"></i></button>
>
>
> Pierre
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to