Skip to content

Commit

Permalink
Some steps to update component for newest Ember (#8)
Browse files Browse the repository at this point in the history
* Add check if component already registered

* Ugly hack to fix select all. TODO: recheck selection node

* Handle paste event

* Avoid using prototype extentions in wysiwyg

* Avoid prototype extentions for editor

* Avoid using prototype extentions

* Ember as global

* Update action-link-modal.js

* Rename imports for Ember

* Update action-link.js
  • Loading branch information
vvscode authored Feb 2, 2017
1 parent 3638f27 commit 1ab6e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/action-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default Ember.Component.extend(WithConfigMixin, {
linkHref: computed.alias('parentView.linkHref'),
actions: {
addLink: function() {
this.get('parentView').send('addLink');
(this.get('parentView') || this.get('_parentView')).send('addLink');
}
}
}));
Expand Down

0 comments on commit 1ab6e12

Please sign in to comment.