emberjs/ember.js — Issue #520: tagName in view causing issues
Author: mcoalson
Created: 2012-02-22 05:25:27+00:00
State: open

html (if I remove tagName from the view the mouseEnter function fires fine. When it's there it doesn't do anything.)

{{#each App.Rooms}}
{{#view App.RoomsView tagName="li" contentBinding="this"}}
{{#with content}}

{{name}}

{{/with}}
{{/view}}
{{/each}}

js

App.RoomsView = Ember.View.extend({
mouseEnter: function() {
alert('this should work');
}
});