Use setElement to ensure that re-parented views listen for events
FREEBIE
This commit is contained in:
parent
0caba71901
commit
2b5e56f6be
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@
|
||||||
|
|
||||||
this.trigger('beforeChangeHeight');
|
this.trigger('beforeChangeHeight');
|
||||||
this.$('.attachments').append(view.el);
|
this.$('.attachments').append(view.el);
|
||||||
|
view.setElement(view.el);
|
||||||
this.trigger('afterChangeHeight');
|
this.trigger('afterChangeHeight');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue