Skip to content

Commit

Permalink
[BUGFIX beta] fix #14888 with a guard
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinJoyce committed Jan 30, 2017
1 parent 96c0bb7 commit c38a1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-views/lib/system/event_dispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export default EmberObject.extend({
if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {
let action = ActionManager.registeredActions[attr.value];

if (action.eventName === eventName) {
if (action && action.eventName === eventName) {
action.handler(evt);
}
}
Expand Down

0 comments on commit c38a1f5

Please sign in to comment.