ui: Adds _super in places where it had been missed (mainly dom-buffer) (#5583)
This commit is contained in:
parent
58b73d9966
commit
1c0cc9353a
|
@ -11,9 +11,11 @@ export default Component.extend({
|
|||
this.append = append.bind(this);
|
||||
},
|
||||
didInsertElement: function() {
|
||||
this._super(...arguments);
|
||||
get(this, 'buffer').on('add', this.append);
|
||||
},
|
||||
didDestroyElement: function() {
|
||||
this._super(...arguments);
|
||||
get(this, 'buffer').off('add', this.append);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -9,9 +9,11 @@ export default Component.extend({
|
|||
return 'modal';
|
||||
},
|
||||
didInsertElement: function() {
|
||||
this._super(...arguments);
|
||||
get(this, 'buffer').add(this.getBufferName(), this.element);
|
||||
},
|
||||
didDestroyElement: function() {
|
||||
this._super(...arguments);
|
||||
get(this, 'buffer').remove(this.getBufferName());
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue